rdww has asked for the wisdom of the Perl Monks concerning the following question:
#!/bin/perl my $SUBS='s/AA/BB/g'; $STR = "AAXXXAA"; $STR =~ $SUBS; print "$STR\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: substitution question
by jkahn (Friar) on Oct 17, 2002 at 18:20 UTC | |
|
Re: substitution question
by Tanalis (Curate) on Oct 17, 2002 at 18:15 UTC |