in reply to Re: In-place search and replace confined to a specific column
in thread In-place search and replace confined to a specific column
never tought to use -MO=Deparse to inspect a oneliner! this trick push me even more up in the dark oneliner side of the source..
Anyway -p seems to superseed -n in both order, results are equal:
perl -MO=Deparse -p -n -e 1 LINE: while (defined($_ = <ARGV>)) { '???'; } continue { die "-p destination: $!\n" unless print $_; } -e syntax OK perl -MO=Deparse -n -p -e 1 LINE: while (defined($_ = <ARGV>)) { '???'; } continue { die "-p destination: $!\n" unless print $_; } -e syntax OK'
L*
|
|---|