LA.pm: Re: Lurkers Anonymous
Arkadiy Sudarikov
asudarikov at xceed.com
Tue Jul 3 13:24:08 CDT 2001
my $truncated_text=$text=~ m/.{0, 250}\b/s;
Ah, yes! But will $text be lexical too?
And, no, it's gotta be $text < 250, because I don't want ... if it's empty
string or if the original text it less than 250.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/archives/losangeles-pm/attachments/20010703/0c23cfa3/attachment.htm
More information about the Losangeles-pm
mailing list