in reply to Changing file names as they are uploaded
Invert the character class.
--$imagename =~ s/[^\w\.]/_/g;
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Changing file names as they are uploaded
by fireartist (Chaplain) on Sep 19, 2002 at 11:43 UTC | |
|
Re: Re: Changing file names as they are uploaded
by katgirl (Hermit) on Sep 19, 2002 at 11:41 UTC | |
by blakem (Monsignor) on Sep 19, 2002 at 11:50 UTC |