in reply to 1 while s/// vs s///g
$_ = "abc" x 200_000; $string = "ab"; [download]
-- Randal L. Schwartz, Perl hacker