[ale] Perl quickie

Geoffrey esoteric at 3times25.net
Sat Jan 17 09:25:12 EST 2004


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



More information about the Ale mailing list