in reply to Re: add character to all lines starting with..
in thread add character to all lines starting with..
All these are going to add the percent sign after $/, no?
I'd use -l from the command line (e.g., Abigail's solution), or something like
$_=~s/$/%/;
replacing the
$_.='%';
(Update: autochomp will take care of this in Tie::File)
|
|---|