5.003 text/html FTP listing broken
Randal Schwartz (merlyn@stonehenge.com)
14 Oct 1996 23:01:41 -0700
Line 190 of LWP/Protocol/ftp.pm:
for (File::Listing::parse_dir(\@lsl, 'GMT')) {
Lines 119 et.seq. of File/Listing.pm:
# Let's convert the tz to an offset in seconds
if (defined $tz) {
if ($tz =~ /^([-+])?(\d{1,2})(\d{2})?$/) {
$tz = 3600 * $2;
$tz += 60 * $3 if $3;
$tz *= -1 if $1 ne '-';
} else {
Carp::croak("Illegal timezone argument (format is +0100)");
}
}
Hmm. Those don't fit.
--
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@ora.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me