in reply to Re:(2) replace @ARGV args with Getopt::Long switches (graci)
in thread replace @ARGV args with Getopt::Long switches
Getopt::Long accepts all unique abreviations to the option, so you don't need to specify your synonym. See Getopt::Long for details, but these should work with 'infile=s'=>\$foo, 'bear=i'=>\$bar...:
Hope this helps,script.pl --infile Myfile -bear 666 script.pl -i Myfile -b 5
Jeroen
"We are not alone"(FZ)
|
|---|