
rotoole at gmail
Apr 30, 2012, 11:19 AM
Views: 706
Permalink
|
|
Re: Issue setting BRICOLAGE_ROOT environment variable OR perhaps not...
[In reply to]
|
|
I changed all of the "require Carp lines to "use Carp", that seems to have fixed the issue. Thanks for your help! ryan On Fri, Apr 27, 2012 at 2:31 PM, Alex Krohn <alex [at] gt> wrote: > > Looks like it's just trying to call a method in the Carp module: > > > > 364 if (-e $conf_file) { > > 365 unless (open CONF, $conf_file) { > > 366 require Carp; > > 367 Carp::croak "Cannot open $conf_file: $!\n"; > > 368 } > > > > 457 } else { > > 458 require Carp; > > 459 Carp::croak "Invalid SSL_ENABLE directive: '$ssl'" > > 460 unless $ssl eq 'mod_ssl' or $ssl eq 'apache_ssl'; > > 461 } > > Either need to remove 'require Carp' and add a single: > > use Carp; > > at the beginning, or change: > > Carp::croak "Invalid SSL_ENABLE directive: '$ssl'" > > to: > > Carp::croak("Invalid SSL_ENABLE directive: '$ssl'") > > i.e. add the parenths. Looks like parenths were added in 2.0 somewhere > along the line. > > Cheers, > > Alex >
|