[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Perl quickie



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