NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
case (Score:2)
Sorry, but I can't resist golfing^Wtinkering with shell scripts...
$# is $#ARGV, more or less. Also, it's always better to use "$@" instead of $* because one day, you'll feed that sucker a filename with a space in. And it won't break with the former.
-Dom
Re:case (Score:2)
Thanks for the tip about "$@"!
Reply to This
Parent