tie *FH, ....?

Tom Christiansen (tchrist@jhereg.perl.com)
Thu, 11 Mar 1999 07:11:36 -0700


Has anyone worked up something with tied filehandles,
overloaded open(), and LWP::Protocol->collect() so that
Larry's notion that this should "just work":

    use SomeModule 'open';
    $fname = "http://foo.com/";
    open(FH, $fname) 	    || die "can't open $fname: $!"
    while (<FH>) {
	print "Line: $_\n";
    } 

You wouldn't want it to read the whole result at once, which 
is why I mention LWP::Protocol->collect().

thanks,

--tom