in reply to Quickie code question
The pattern would probably be easier to understand at a glance (and less dependent on the host's character set) if it were written:
$line =~ s/[ \t]*\r$//;
Make sense to you now?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Quickie code question
by arhuman (Vicar) on Mar 28, 2001 at 21:55 UTC | |
by converter (Priest) on Mar 28, 2001 at 22:08 UTC | |
by arturo (Vicar) on Mar 28, 2001 at 22:13 UTC |