On Sun, Oct 3, 2010 at 3:29 PM, "jobst müller" <floo...@web.de> 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 <bamcc...@gmail.com>
V zrna gur orfg jvgu jung V fnl. Vg qbrfa'g nyjnlf fbhaq gung jnl.
Castopulence Software <http://www.castopulence.org/> <bamcc...@castopulence.org>

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to