in reply to Climbing Mt. Perlcritic -- Switch statements

It's always a bad idea to use Switch.pm. It leads to hard to track down errors. I doubt that PerlCritic recommends Switch.pm - I'm not so sure about PBP though.

  • Comment on Re: Climbing Mt. Perlcritic -- Switch statements

Replies are listed 'Best First'.
Re^2: Climbing Mt. Perlcritic -- Switch statements
by Limbic~Region (Chancellor) on Mar 25, 2009 at 18:00 UTC
Re^2: Climbing Mt. Perlcritic -- Switch statements
by Bloodnok (Vicar) on Mar 25, 2009 at 17:55 UTC
    AFAICT, PBP appears to recommend a lookup table based approach (Chapter 6 Control Structures - pp 118-121).

    A user level that continues to overstate my experience :-))