NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
You are an idiot (Score:1)
Just look at it:
That’s clearly orders of magnitude easier to read than the Perl version.
Re: (Score:1)
Oh wait, it has to be this:
Or possibly chain the methods.
Perl can’t hold a candle to any of that.
Re: (Score:1)
But perl6 might...
http://xrl.us/ftqq [xrl.us]
http://xrl.us/5obh [xrl.us]
In Python that can be written as:
msg = msg.strip()Re: (Score:1)
I expected that. Of course, until I read the documentation, I don’t actually have any idea about what
stripdoes.Re:You are an idiot (Score:1)
Reply to This
Parent
Re: (Score:1)
I know. I’m saying that if I see
msg.strip()in a random piece of Python code, and I’ve never seen the documentation ofstrip, then I don’t know what it does, any more than I know what the Perl code does if I’ve never read the documentation.Re: (Score:1)
You're absolutely right. I wish more people realized that.