Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: File open problem with "GLOB"

by Cody Pendant (Prior)
on Mar 16, 2008 at 04:32 UTC ( [id://674424]=note: print w/replies, xml ) Need Help??


in reply to File open problem with "GLOB"

...and once you've got all your filehandle problems sorted out, you'll notice that it still doesn't work, because you've got
$te->parse_file($input);
which is for files/filehandles. You just want
$te->parse($input);
because you're working on a string.


Nobody says perl looks like line-noise any more
kids today don't know what line-noise IS ...

Replies are listed 'Best First'.
Re^2: File open problem with "GLOB"
by mcoblentz (Scribe) on Mar 16, 2008 at 05:45 UTC
    Ah, Thanks Cody. I would have struggled with that one for a while. I was indeed getting a parse error there. I presume that's what
    Unsuccessful open on filename containing newline at C:/Perl/lib/HTML/P +arser.pm line 95. at C:/Perl/lib/HTML/Parser.pm line 95 HTML::Parser::parse_file('HTML::TableExtract=HASH(0x26dff64)', + '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"...') +called at cruise_ships2.pl line 59 main::(cruise_ships2.pl:62): my ($ts,$row);
    was trying to tell me...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://674424]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-03-28 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found