develooper Front page | perl.perl5.porters | Postings from October 2003

Re: How to tell if Perl has -DDEBUGGING?

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
October 24, 2003 08:49
Subject:
Re: How to tell if Perl has -DDEBUGGING?
Message ID:
20031024174203.1d42fe2e.rgarcia@hexaflux.com
Casey West wrote:
>
> It was Friday, October 24, 2003 when Steve Hay took the soap box, saying:
> : Is there any way for a Perl module to tell that it is being run by a 
> : Perl that was built with -DDEBUGGING enabled?
> 
> Here's my shot.
> 
> $ /usr/local/perl/perl/bin/perl5.9.0 -MData::Dumper \
>     -MConfig -le'print Dumper \%Config' | grep -i debug
>           'config_arg2' => '-DDEBUGGING',
>           'config_args' => '-Dusedevel -DDEBUGGING -des -Dprefix=/usr/local/perl/perl',
> 

You don't have it in $Config{ccflags} ? how weird.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About