#!/usr/bin/perl use warnings; # can be simplified to just #!/usr/bin/perl -w # this will work even on Windows!! Windows Perl doesn't look # at the path, but it does look at the -w trailing thing. You will see this often at the start of a Perl program: #!/usr/bin/perl -w use strict;