Hi,

The module Date.pm is in the site_perl folder in the MacPerl folder.
@INC contains the site_perl path.
Date.pm starts with:

package HTTP::Date;  # $Date: 2001/01/04 20:27:15 $

$VERSION = sprintf("%d.%02d", q$Revision: 1.43 $ =~ /(\d+)\.(\d+)/);

require 5.004;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(time2str str2time);
@EXPORT_OK = qw(parse_date time2iso time2isoz);

It contains a sub parse_date.

My script contains:

use strict;
my $str = 'Tue Jun 11 01:07:04 2002';
use Date qw/parse_date/;
my $out = parse_date($str);
print $out;

The Exporter croaks: "parse_date" is not exported by the HTTP::Date module.

I've tried a number of variants to no avail. What am I missing ? Thanks. 

Reply via email to