in reply to Re^2: The Zeroeth Principle
in thread The Zeroeth Principle

I don't know what your usual style is. However experience indicates that the way people write "toy code" is the way that they write real code as well. Therefore I reacted to aspects of your style which I thought likely to show up in real code.

As for the treatment of $[ by those who have used it, the wise ones don't use it any more. ;-) My understanding is that $[ was added to Perl so that a2p could use it to easily emulate awk without having to track down every potential array access.

Replies are listed 'Best First'.
Re^4: The Zeroeth Principle
by Velaki (Chaplain) on Aug 26, 2004 at 21:28 UTC

    I hear ya. In fact, I've seen a lot of "toy" code passed off as real "production" code, so I understand your dismay. But fret not; my code is much nicer and cleaner than that. Just look at any snippit. :o)

    I wonder how much a2p is still being used? I saw one person use it the other day.

    Thanks,
    -v
    "Perl. There is no substitute."