in reply to Regexp::Token -- Use regular expressions to match tokens

my $p_token = Regexp::Token::HTML->create_token('<p name="" class="">' +); my $p_tag = Regexp::Token->create($p_tag);

Is the last line a typo and should the argument to Regexp::Token::create be $p_token or is there some voodoo magic in Regexp::Token?

Abigail

Replies are listed 'Best First'.
Re: Re: Regexp::Token -- Use regular expressions to match tokens
by Ovid (Cardinal) on Aug 25, 2003 at 13:18 UTC

    You're right, that's just me making a bit of a typo. It was in the docs and the tests, but I've fixed both and uploaded a new distribution. Thanks for the catch.

    Cheers,
    Ovid

    New address of my CGI Course.