should be equivalent to$foo ~= s/a/b/;
so maybe ~ should be a binary operator that returns the result of the substitution whereas ~= would apply the substitution to $foo$foo = $foo ~ s/a/b/;
In reply to Re: Re: regexp operator -- same mistake over and over again
by Anonymous Monk
in thread regexp operator -- same mistake over and over again
by rkg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |