Mega Code Archive

 
Categories / Perl / Language Basics
 

The warnings Pragma and the -w Switch

#The -w switch warns you #You can use the -w switch either as a command-line option to Perl, as perl -w <scriptname> #!/usr/bin/perl # Scriptname: warnme print STDOUT Ellie, what\'s up?; $ perl -w warnme