[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Perl quickie
- Subject: [ale] Perl quickie
- From: esoteric at 3times25.net (Geoffrey)
- Date: Sat Jan 17 09:25:12 2004
- In-reply-to: <[email protected]>
- References: <1074269863.6441.11.camel@devel> <[email protected]>
Fletch wrote:
> Of course TMTOWTDI, but using tr/// will probably be the fastest.
>
> $_ = "a b\tc\nd";
> y/ \t\n/_/s;
> print; # prints "a_b_c_d"
What took you so long Fletch? I was waiting for your post. ;)
--
Until later, Geoffrey esoteric at 3times25.net
Building secure systems inspite of Microsoft