perl -e 'for(0..$#ARGV){($debug,$infile)=(1,$ARGV[$_+1]) if $ARGV[$_]= +~/-d/}'
In reply to Re: getting args without clobbering @ARGV
by smokemachine
in thread getting args without clobbering @ARGV
by bfdi533
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |