in reply to Regex KungFu help needed

Can anyone help point me to how to address this error?

Yes. Read the error message. Read it again. It tells you how to deal with the error.

Also consider reading the documentation of the re package.

Perl 6 - links to (nearly) everything that is Perl 6.

Replies are listed 'Best First'.
Re^2: Regex KungFu help needed
by ikegami (Patriarch) on Oct 02, 2009 at 15:02 UTC
    Rather poorly, though. It's far from obvious "re 'eval'" is literal code, and that it should be preceded by an unstated "use". What the message means is that you should use:
    use re 'eval';

    re

        Yeah, I have to admit I was at a bit of a loss, and then when someone actually included it as code, it was a "duh!" moment.. but it does the trick. Thanks for your help.