in reply to Parse::Lex error message

Which is line 17, please?

-Theo-
(so many nodes and so little time ... )

Replies are listed 'Best First'.
Re: Re: Parse::Lex error message
by Anonymous Monk on Jan 27, 2004 at 16:49 UTC
    line 17 is print $_[0]->name, "\t"; $_[0] is a Parse::Token object.
      $_[0] is a Parse::Token object.
      The error message tells you that $_[0] is undefined, so it can't be a Parse::Token object.