View Single Post
  #7  
Old 02-26-2013, 03:26 AM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

thw W enables all warnings (like telling you that you are using a variable only once)

running this file that way

warnMe.pl
Code:
$warnMe;
results in this

Code:
perl -cW warnMe.pl
Useless use of a variable in void context at warnMe.pl line 1.
Name "main::warnMe" used only once: possible typo at warnMe.pl line 1.
warnMe.pl syntax OK
http://perldoc.perl.org/perlrun.html#Command-Switches
__________________
I muck about @ The Forge.
say(rand 99>49?'try '.('0x'.join '',map{unpack 'H*',chr rand 256}1..2):'incoherent nonsense')while our $Noport=1;
Reply With Quote