Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: devel
Re: Issue setting BRICOLAGE_ROOT environment variable OR perhaps not...
 

Index | Next | Previous | View Flat


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
>

Subject User Time
Issue setting BRICOLAGE_ROOT environment variable OR perhaps not... rotoole at gmail Apr 23, 2012, 10:28 PM
    Re: Issue setting BRICOLAGE_ROOT environment variable OR perhaps not... david at justatheory Apr 24, 2012, 11:20 AM
    Re: Issue setting BRICOLAGE_ROOT environment variable OR perhaps not... david at justatheory Apr 24, 2012, 11:20 AM
    Re: Issue setting BRICOLAGE_ROOT environment variable OR perhaps not... rotoole at gmail Apr 27, 2012, 2:18 PM
    Re: Issue setting BRICOLAGE_ROOT environment variable OR perhaps not... rotoole at gmail Apr 27, 2012, 2:18 PM
    Re: Issue setting BRICOLAGE_ROOT environment variable OR perhaps not... alex at gt Apr 27, 2012, 2:31 PM
        Re: Issue setting BRICOLAGE_ROOT environment variable OR perhaps not... rotoole at gmail Apr 30, 2012, 11:19 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.