Invert the character class.
--$imagename =~ s/[^\w\.]/_/g;
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Changing file names as they are uploaded
by davorg
in thread Changing file names as they are uploaded
by katgirl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |