LA.pm: Re: Lurkers Anonymous
Arkadiy Sudarikov
asudarikov at xceed.com
Tue Jul 3 13:26:59 CDT 2001
Oops, dummy me. Of course it can be lexical if I set $text to be.
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/8b31d45e/attachment.htm
More information about the Losangeles-pm
mailing list