#142 LWP::Simple head

Release 5.8.xr*
open
6
2002-07-30
2002-07-20
Anonymous
No

In 5.8.0a2, LWP::Simple's head function always fails.

Code previously run under 5.2.0r4 failed without exception until
head() was replaced with get() (less efficient but a workaround).

Relevant lines:

use LWP::Simple qw(get head);
if (head($url)) { ...

head() always fails. get() works.

Discussion

  • Chris Nandor

    Chris Nandor - 2002-07-30

    Logged In: YES
    user_id=3660

    Thanks for the report. webgod@mindspring.com reported that
    the Net/HTTP/ directory is missing (I removed it
    accidentally, probably thinking it was part of libnet
    instead of LWP); adding it back in from the 5.6.1r1 lib
    directory, or from the LWP distribution, fixes the problem.
    It will be fixed in a future release.s

     
  • Chris Nandor

    Chris Nandor - 2002-07-30
    • milestone: --> 102958
    • priority: 5 --> 6
    • assigned_to: nobody --> pudge
     
  • Chris Nandor

    Chris Nandor - 2002-07-30
    • milestone: 102958 --> Release 5.8.xr*
     

Log in to post a comment.