in reply to Using Image::Grabber to grab images from a directory

Using HTML::SimpleLinkExtor & LWP::Simple
#!/usr/bin/perl -w use strict; use HTML::SimpleLinkExtor; use LWP::Simple; my $html = get("http://www.poop.com/pics/index.html"); my $extor = HTML::SimpleLinkExtor->new(); $extor->parse($html); @img_srcs = $extor->img;
Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur.

Replies are listed 'Best First'.
Re: Re: Using Image::Grabber to grab images from a directory
by Anonymous Monk on Oct 05, 2003 at 20:31 UTC
    I'm a newb.. so this may or may not be the place for this... When I try to install the SimpleLinkExtor package (for this example), I built the makefile, but then when i try to do 'make SimpleLinkExtor.pm', I get: "Fatal makefile 654: No terminator specified for in-line file operator" The makefile is generated though, it's not like i created it... I tried looking for spaces instead of tabs, but didn't find any. PS.. I'm running Win2k, and ActiveState Perl... if that matters.