Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: meta tag extraction with TokeParser

by saintmike (Vicar)
on Mar 20, 2006 at 16:47 UTC ( [id://538058]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re^2: meta tag extraction with TokeParser
in thread meta tag extraction with TokeParser

Again, you're not checking if it's defined. Use this instead:
if( defined $token->[2] ) { ... }

Replies are listed 'Best First'.
Re^4: meta tag extraction with TokeParser
by Anonymous Monk on Mar 20, 2006 at 16:51 UTC
    After posting, I actually tried that instead and that, too, still produces the same results.
      Furthermore, if I comment out $meta{$token->[2]{name}} = $token->[2]{content}; the code runs throught without errors so it's definitely on this line.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://538058]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.