P is for Practical | |
PerlMonks |
Re: LWP::Simple, a bug in head() function?by ender (Novice) |
on Mar 24, 2000 at 00:32 UTC ( [id://5994]=note: print w/replies, xml ) | Need Help?? |
Hrm, here's the code for the LWP::Simple::head() sub:
So it looks like it tries to return an array, but what happens if it doesn't get a modified time, or any other element for that matter? It seems to return whatever it gets w/o putting any placeholders in:
So, it looks as though it's not really behaving how we would wish it to. Perhaps it should return a hash? Am I totally off-base there?
In Section
Seekers of Perl Wisdom
|
|