in reply to easiest way to read multiple word command arguments
For simple command line args I recommend Getopt::Std. Use perldoc Getopt::Std to get a man page detailing usage. It's very easy to use:
use Getopt::Std; use Data::Dumper; my %opts; getopt('a:b:c:', \%opts); print Dumper(\%opts);
|
---|
In Section
Seekers of Perl Wisdom