Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Four annoying warnings

by BrowserUk (Pope)
on Dec 09, 2012 at 00:37 UTC ( #1007938=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    C:\test>perl -M-warnings=uninitialized,numeric,once,void -E"123;$x=1;p
    +rint $y; 'A'+0"
    
    ...
    Name "main::x" used only once: possible typo at -e line 1.
    Use of uninitialized value $y in print at -e line 1.
    Argument "A" isn't numeric in addition (+) at -e line 1.
    
  2. or download this
    C:\test>perl -wE"say (1+2)*3"
    say (...) interpreted as function at -e line 1.
    Useless use of multiplication (*) in void context at -e line 1.
    3
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2014-07-23 08:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (137 votes), past polls