LA.pm: Re: Lurkers Anonymous
Philip M.
disordr at inntra.net
Tue Jul 3 06:18:26 CDT 2001
can i still come to the la.pm meetings even though im not a perl
programmer ? ;)
im learning xml though for work..... <tag></tag> wh000p!!!
-Philip
On Tue, 3 Jul 2001, Samy Kamkar [CommPort5] wrote:
> > Arkadiy Sudarikov wrote:
> >
> > I have two comments on this.
> >
> > 1. So, I can do:
> >
> > my $text=q( ... some big bad ass multi-line text goes in here ... );
> > $text=~ m/.{0, 250}\b/s;
> > my $truncated_text=$&;
> > $truncated_text.='...' unless $text eq '' or length $text < 250;
>
> Do you mean > 250?
> If not, $truncated_text .= '...' unless length($text) < 250; # is all
> you need
> You can also do
> my ($truncated_text) = $text =~ m/(.{0, 250}\b)/s;
>
>
> > 2. Okay, Counter Strike tourneys? What's that?
> >
> > Post Scriptum: I think it's just fine for us to discuss plans for next
> > meeting. It's almost a month away, god damn it. And I don't think it
> > has to be in a set date or location. Like, whatever. As long as it's
> > cool.
> Set dates just help people plan better for them and always be prepared
> so no one's ever confused, but I agree it has to be cool ;)
>
More information about the Losangeles-pm
mailing list