Perhaps this is a problem that I'm just encountering personaly.  I'd like
to have get() return an array if I ask for one:

my $page = [ get 'http://localhost/' ];

or a scalar (as usual):

my $page = get 'http://localhost/';

I could handle this in my programs, however, that is an extra step in
every program that I might want this feature for.

Anyhow, I re-wrote a few lines in &LWP::Simple::_get() to accomidate this
feature.  

I thought I'd pose the idea to this forum to find out:
 1) is there an interest and
 2) who should get this if there is an interest

Also, if I should send this to p5p or some other group, I'd be more than
happy to.

$Happy::Hacking;

-- 
print 'Casey R. Tweten';
my $sig = { mail => '[EMAIL PROTECTED]', 
            site => 'http://home.kiski.net/~crt' };
print "\n" . '.'x(length($sig->{site})) . "\n";
print map{$_.': '.$sig->{$_}."\n"}sort{$sig->{$a}cmp$sig->{$b}}keys %{$sig}



Reply via email to