On Wed, 12 Apr 2000, Casey R. Tweten wrote:

: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/' ];

I forgot to mention that I ``decided'' to split on C</\015?\012/>.
However, it would be trivial to allow the program to supply some delimiter
to split on.

Perhaps the user may supply us everything inside C<m//> or we default to
C<m/\015?\012/>?  Just throwing these ideas around.

: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