Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Using the contents of

by ikegami (Patriarch)
on Sep 22, 2008 at 06:29 UTC ( [id://712950]=note: print w/replies, xml ) Need Help??


in reply to Using the contents of

Yes. Quote the docs,

If the argument is a reference to a plain scalar, then this scalar is taken to be the literal document to parse.

my $stream = HTML::TokeParser->new(\$source) || die "Couldn't read HTML file $source";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-24 04:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found