in reply to Is this possible to make a one liner?

your s/// seems to go against your discription.   $line =~ s/}//g; will remove any } char not just at line end.

-Waswas

Replies are listed 'Best First'.
Re: Re: Is this possible to make a one liner?
by Grygonos (Chaplain) on Aug 02, 2003 at 06:51 UTC
    right... that's the only place it was so i just slopped it.. but yeah it should be $line =~ s/}$//; right?