in reply to (jeffa) 6Re: Use of unitialized variable?
in thread Use of unitialized variable?

Doh! Nope, that one prints it, just like the word says. You want this:
use strict; use LWP::Simple; print &getHTML('http://www.perlmonks.org'); sub getHTML { return get(shift); }
which just gets it, just what you want.

-- Randal L. Schwartz, Perl hacker