my $foo = 'a'; for my $string ('b'..'z') { $foo =~ s/./$string/o; print "$foo\n"; }
-- Mike
--
just,my${.02}
In reply to Re: Re: Question of variable interpolation in regex
by thelenm
in thread Question of variable interpolation in regex
by SparkeyG
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |