really depends on what you use perl to do. if you use TK consistently I'd expect to see TK modules used, or if you're writing a lot of CGI then that's what you'd see.
Not that I'm any expert (far from it), but Me personally, I do a lot of sysadmin/file manipulation and goofing around with files. So I have an abnormally large number of scripts with the following modules in use... also, since I am cpan limited I don't generally use modules that I can't get with the base install... which makes life a pain, but it still beats other programming languages...
use Getopt::Long qw(:config no_ignore_case bundling); #or some variati +on of this. use Cwd; # I like to keep track of where I started before cd'ing use File::Basename qw(fileparse); use File::stat; use File::Find; #love this guy use Time::gmtime; #for timestamps, etc use Time::Local; #time's easy to manip if it's a single scalar use File::Copy; #somewhat DOS/Linux portable (crippled) copy use Carp; use constant CONSTANTNAME => Value; # der... use Tie::IxHash; #it's slow, but sometimes you need an ordered hash use File::Compare; #somewhat portable file diff, truthfully laziness u +sually wins and I usually just call diff as a system call...
In reply to Re: Common uses of "use"
by raybies
in thread Common uses of "use"
by mjscott2702
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |