On Mon, Apr 19, 2004 at 11:22:21PM +0200, "A. Pagaltzis" <[EMAIL PROTECTED]> wrote:
> Because I think
> 
>     chop if /\.\d\d0\z/;
> 
> is clearer to read than
> 
>     s/(?<=\.\d\d)0\z//;
> 
> or even (yuck!)
> 
>     s/(\.\d\d)0\z/$1/;

do{local $/=0;chomp}

Reply via email to