Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Why no warnings for 1 in void context?

by ikegami (Pope)
on Jul 16, 2005 at 16:36 UTC ( #475475=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Why no warnings for 1 in void context?
in thread Why no warnings for 1 in void context?

It is if, as I wrote, you syntax-check the module's file with perl -wc, e.g.:

Then it's no longer a module, it's just a script. The parent poster did say "in a require".

>echo 2 > Foo.pm >perl -we "use Foo;" >perl -cwe "use Foo;" -e syntax OK


Comment on Re^3: Why no warnings for 1 in void context?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://475475]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2014-08-30 07:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls