in reply to Alternative to POSIX::strptime

What are you trying to install? There shouldn't be any need to install anything.

POSIX.pm has been a part of the standard Perl installation since the earliest versions of Perl 5. If you have Perl 5 installed then you already have POSIX.pm and therefore POSIX::strptime.

--

See the Copyright notice on my home node.

Perl training courses

Replies are listed 'Best First'.
Re^2: Alternative to POSIX::strptime
by djerius (Beadle) on Jun 17, 2009 at 18:01 UTC
    The 5.10.0 POSIX module doesn't look like it supplies strptime:
    % perl -v This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi [...] % perl -MPOSIX=strptime "strptime" is not exported by the POSIX module Can't continue after import errors at /usr/lib/perl/5.10/POSIX.pm line + 28 BEGIN failed--compilation aborted. % perl -MPOSIX -le 'print POSIX->VERSION' 1.13

      You're right. POSIX has never included strptime. It includes strftime. I apologise for being confused by the original question :-)

      --

      See the Copyright notice on my home node.

      Perl training courses