Its best not to use that shortcut; it has caveats, and it can be dangerous, see magic-diamond <> behavior -- WHAT?!
I would use Iterator::Diamond
Or with ARGV::readonly like Re^2: perl -pi -e s'/^\s+//'g $file
In reply to Re^2: Rewriting into file
by Anonymous Monk
in thread Rewriting into file
by pr09
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |