Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
perl -pl -e 'next if /bala/;s/([^:]+)([^:]+)/$2$1/' file.txt
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl -pl with next?
by PodMaster (Abbot) on Jan 27, 2005 at 08:56 UTC | |
|
Re: perl -pl with next?
by jmcnamara (Monsignor) on Jan 27, 2005 at 09:03 UTC | |
|
Re: perl -pl with next?
by deibyz (Hermit) on Jan 27, 2005 at 09:01 UTC | |
by hv (Prior) on Jan 27, 2005 at 09:26 UTC | |
by deibyz (Hermit) on Jan 27, 2005 at 09:30 UTC | |
|
Re: perl -pl with next?
by holli (Abbot) on Jan 27, 2005 at 09:01 UTC |