Perl PrototypePublished on 27 Nov 2005
The following code forms the typical header for my Perl scripts:
#!/usr/bin/perl use 5.8.0; use strict; use warnings; use English qw(-no_match_vars); use locale; use Carp; use Errno qw(:POSIX); use Time::HiRes qw(time sleep); use Data::Dumper; $Data::Dumper::Indent = 1; $Data::Dumper::Varname = 'data'; $Data::Dumper::Terse = 1; $Data::Dumper::Deepcopy = 1; $Data::Dumper::Quotekeys = 1; # put code here
Feedback is always welcome! If you'd like to get in touch with me concerning the contents of this article, please use Twitter.