in reply to Using arrays of qr!! to simplify larger RE's for readability (code).

Change your outer brackets to parens. You are creating a list, one element long, which contains an array ref, containing your actual array.

-- Randal L. Schwartz, Perl hacker

  • Comment on Re: Using arrays of qr!! to simplify larger RE's for readability.