I've found that the GET/HEAD/POST/lwp-request scripts are broken
on Win32 platforms.

The command:
   perl \perl\bin\GET -uSed http://www.activestate.com
results in:
   \perl\bin\GET: \PERL\BIN\GET is not an allowed method

This is due to line 178:

$progname =~ s,.*/,,;  # use basename only

Assumes a Unix-like system with a filepath separator character of '/'.
MS Win32 uses '\' for its filepath separator character.
Mac's are also broken since they use ':' for a filepath separator
character.

A better solution would be to use the File::Basename module to properly
parse the basename instead of the current non-portable hack.

Perl is 5.6.0 Build 617 for MS Win32 (ActiveState).
LWP version (ppm query libwww)
libwww-perl [5.48] Library for WWW access in Perl

Michael King
[EMAIL PROTECTED]

Reply via email to