http://www.perlmonks.org?node_id=658982


in reply to Re^4: using fields in perl
in thread using fields in perl

Im hoping 5.12 will allow one to supply a modifier to the split so you can have the "ignore leading nulls" behaviour with any pattern.

---
$world=~s/war/peace/g