$string =~ /foo/; $string =~ //; # this repeats the last successful match $string =~ /foo/; $string =~ s//bar/; # again, /foo/ is used in place of //
In reply to s/// tomfoolery explained (again)
by japhy
in thread s/// operator and undef question...
by ismail
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |