Hi,

Using the "old" HTML::Parser.

Data::Dumper'ing a token from my HTML::Parser subclass:

 $t = [
       'S',
       'img',
       {
         'src' => 'billeder/1-pixel.gif',
         'width' => 2,
         'foobar' => 'foobar',
         'height' => 1,
         'alt' => ' '
       },
       [
         'alt',
         'height',
         'width',
         'foobar',
         'src'
       ],
       '<img alt=" " height="1" width="2"
foobar src="billeder/1-pixel.gif">'
     ];

why is $t->[2]->{foobar} set to "foobar"? How can I see the difference
between just "foobar" in the original input and 'foobar= "foobar"'?


 - ask

ps. sorry about the clueless subject line, ugh.

-- 
ask bjoern hansen - <http://www.netcetera.dk/~ask/>
more than 60M impressions per day, <http://valueclick.com>

Reply via email to