Warnings Sometimes you don't want that. Tell Perl to warn you about this by using "warnings": #!/usr/bin/perl -w or use warnings; Doing so will also warn you against doing loads of other bad things. I recommend it. Highly.