On Sun, Oct 3, 2010 at 3:29 PM, "jobst müller" <[email protected]> wrote:
> Bareword found where operator expected at perl_script_four.pl line 15, near
> "my $p = HTML::TokeParser->new($file) or die "Can't"
The line above that appears to be this:
> ->in(*'.'*);
I'm guessing that you meant:
->('*.*');
Generally speaking, when a syntax error is found, you start by looking
at the line identified as the error, and then you look above it. IMHO,
your code could use more white space to make it more readable.
--
Brandon McCaig <[email protected]>
V zrna gur orfg jvgu jung V fnl. Vg qbrfa'g nyjnlf fbhaq gung jnl.
Castopulence Software <http://www.castopulence.org/> <[email protected]>
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/