in reply to How can I stop ARGV from globbing all over the place?
Second, the perl-thing you might want to look at is the Getopt::Long module. Using this (standard) module, you can process your options as:
Perl will then extract the args into the arrays for you. (but don't use the shell-quotes in this case) --Dave.use Getopt::Long; my @cfg_files; my @ts_files; GetOptions("cf=s@" => \@cfg_files, "ts=s@" => \@ts_files);
|
|---|