in reply to Re^2: Rook question
in thread Rook question

The above code hardly even resembles Perl as I know it. Got a lot to learn... I've heard at work they use 'map' regularly (I wouldn't say 'frequently'--something about it not processing efficiently with mysql in some contexts). I'll need to read up on that.

Replies are listed 'Best First'.
Re^4: Rook question
by Anonymous Monk on Oct 19, 2012 at 17:16 UTC

    I can't say I'd choose cowdawg's approach for this question, because map is a bit ill suited for this specific problem. Athanasius's is probably the most idiomatic while still being easy to understand.

Re^4: Rook question
by blue_cowdawg (Monsignor) on Oct 19, 2012 at 13:34 UTC
        something about it not processing efficiently with mysql in some contexts

    eh? What does map have to do with mysql? O-o


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg