Newbie daft as a brush question

Michael G Schwern schwern at pobox.com
Mon Jan 14 15:40:08 CST 2002


On Mon, Jan 14, 2002 at 07:01:06PM +0000, duggie-belfast-pm at blackstar.co.uk wrote:
> # to write it to a file, you can do this: 
> open(NETFILE, "> netfile.html") || die "Can't open the output file!\n";
> print NETFILE $feed;
> close(OUT);

There's also getstore() for that

    use LWP::Simple;
    getstore('http://www.angryflower.com/thisin.gif', 
             'btaf/Internet_Thing.gif');


PS  Point of order for the Amerikins... "Brush Question"?

-- 

Michael G. Schwern   <schwern at pobox.com>    http://www.pobox.com/~schwern/
Perl Quality Assurance	    <perl-qa at perl.org>	       Kwalitee Is Job One
Schwern Unit:  a positive but insignificant quantity



More information about the Belfast-pm mailing list