Writing *.pl in a shell (not sure if CMD too) will expand automatically BEFORE it is handed over to perl's @ARGV, better quote everything!
Then there is this guy called Larry Wall, he wrote something similar once, take a look: Simple Perl file rename (posted by hilitai).
Your code almost works.... fight on!
In reply to Re: Perl file rename
by FreeBeerReekingMonk
in thread Perl file rename
by keltan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |