Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: HTML::Parser fun

by FreakyGreenLeaky (Sexton)
on Jun 17, 2008 at 15:53 UTC ( #692541=note: print w/ replies, xml ) Need Help??


in reply to Re: HTML::Parser fun
in thread HTML::Parser fun

I just recalled: the split is a leftover from the origional code which reads something like:

# this is actually read in from a conf file $conf{tags} = 'a area meta';
with subsequent use as:
$html_parser->report_tags( split '\s+', $conf{tags});
qw// doesn't allow variable interpolation, is there an alternative syntax to using split to get the list?


Comment on Re^2: HTML::Parser fun
Select or Download Code
Replies are listed 'Best First'.
Re^3: HTML::Parser fun
by Anonymous Monk on Jun 18, 2008 at 10:13 UTC
    $conf{tags} = [ qw'a area meta ' ]; ...report_tags( @{ $conf{tags} } );

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2015-07-29 03:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls