"A. Pagaltzis" schreef: > (If I had a nickel for every time I've wished Perl had an > s///-like function that returned a modified copy instead of > modifying the original string in place.)
Often this is good enough: (my $new = $old) =~ s/from/to/; But if $old is several GBs large, and the s/// would eliminate most of that, you would use a different approach, like a loop that involves index() and substr(). -- Affijn, Ruud "Gewoon is een tijger."
