Re: WWW::Mechanize -- bug in find_all_images

Peter Stevens <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
Andy Lester wrote:
> But why would $image->url come back as undef?  That should be the real 
> thing to check.
>
Quite simple really. There are images which are not containd in an 
<a>...</a> block. Again from news.google.com, here are two examples:

    <img width=1 height=1 alt="">
    <img src=/images/cleardot.gif width=1 height=2>

I like the first example because it is a pure placeholder. No real image 
at all :-)

Cheers,
Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.