Slash Boxes
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

use Perl Log In

Log In

[ Create a new account ]

chromatic (983)

  (email not shown publicly)

Blog Information [] Profile for chr0matic []

Journal of chromatic (983)

Sunday May 06, 2007
02:40 AM

Okay, Maybe Perl *is* The Problem

[ #33205 ]

Browse the explanations of the Perl code posted at Worse Than Failure's Splitting Headache. Count how many mistakes there are. Perhaps it really is difficult to use Perl correctly.

Then again, the documentation is copious and I learned from it. I'd say I'd like to meet someone even lazier than I, but that's just too much work.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
    • Using capturing groups to return bits of the delimiter as part of the list is pretty obscure.

    • Having trailing empty fields dropped by default is too subtle – you should have to pass -1 to trigger that behaviour instead of to disable it.

    • The “single-space-character string as delimiter” special case is far too clever – the behaviour should be moved to a dedicated separate function or omitted entirely.

    I think that is generally the problem people have with Perl: it conflates ma