in reply to On bad habits

I hate heredocs. They break your indentation.

And I probably have the opposite bad habit to you with regards to map/join/grep instead of foreach - I should use foreach more. With foreach, your code reads from top left to bottom right, but with map and grep your code keeps changing direction and can sometimes be harder to read.

Incidentally, this whole thread - and the many others like it that we have had in the past here in the monastery - smack of Mao-ist self-criticism ;-)

Replies are listed 'Best First'.
Re^2: On bad habits
by Xenograg (Scribe) on Jun 24, 2005 at 21:30 UTC
    >I hate heredocs. They break your indentation.

    The Perl Cookbook has a hack for that.

    --- The harder I work, the luckier I get.