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
Related examples in the same category