In list context, head returns all kinds of interesting values such as response code, last modified, content-length etc.#!/usr/bin/perl use LWP::Simple; if (head('http://www.foo.com/')) { print "Page exists and would download fine!\n"; }
In reply to RE: RE: RE: Benevolent Ad Filter
by Anonymous Monk
in thread Benevolent Ad Filter
by httptech
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |