in reply to Re: Rewriting into file
in thread Rewriting into file
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Rewriting into file
by pr09 (Novice) on Jun 21, 2011 at 04:51 UTC |