in reply to using s/// to remove file extensions
You could find File::Spec useful for this filename stuff, anyway.$approvedpdfs =~ s/\.pdf$//;
Update: you should also take a look at perldoc perlretut, regexes aren't shell expansion rules :)
Flavio
Don't fool yourself.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: using s/// to remove file extensions
by nimdokk (Vicar) on Mar 30, 2005 at 13:33 UTC |