John W. Krahn wrote:
Scott R. Godin wrote:

Dave Adams wrote:

Does perl allow you to conditionally include a module?
[snip]
If you're using Perl 5.7.3 or later you can

   use if $DEBUG, diagnostics -verbose;

details in 'perldoc if'

:)

And all you people who answered with something other than this, aren't
you ashamed you didn't know about 'if' ? :)

Aren't you ashamed that you didn't read 'perldoc if' and see that the
correct syntax is:

    use if $DEBUG, diagnostics => -verbose;

;-)


LOL! got me =8)

That's what I get for snapping off a reply at the end of the day just before heading home. :)

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to