> s/%//; # replaces any '%' signs in $_ with nothing > > but, I want to replace any '%' signs in > $iAmAVariableHearMeRoar with nothing
(Correct) Answer given by another poster: >> $iAmAVariableHearMeRoar =~ s/%//; The original message did IMPLY there might be MULTIPLE '%' characters (perhaps not together.) If THIS is the REAL request, try this: $iAmAVariableHearMeRoar =~ s/%//g; g = "globally" (or multiple patterns where found.) And NO it is not a stupid question, I -- and most of us -- ran into this same question during our early Perl work. There are INDEED stupid questions -- this is NOT one of them. Keep learning... Herb Martin, MCT, MCSD, MCSE [EMAIL PROTECTED] http://LearnQuick.Com 512 388 7339 -or- 1 800 MCSE PRO Accelerated MCSE in a Week Seminars -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]