in reply to Processing command line arguments
I'm sure if you wonted to you could do something like XPARAM='1,2,3' and then split the hash values into an array.%params; foreach $arg (@ARGV){ ($key,$val)= split '=',$arg; $params{$key) = $val; }
A bit long winded I know but as a beginner possibly easy to understand.
|
|---|