in reply to POSIX.pm and Perl 5.004_02 - Compatible?


There should be a version of POSIX with 5.004. Here is the results from a standard 5.00405 installation:
$ perl5.00405 -MPOSIX -le 'print strftime "%Y/%m/%d", localtime' 2003/09/08
And here is the ouput from Module::CoreList's corelist:
$ corelist POSIX POSIX was first released with perl 5.00307

--
John.

Replies are listed 'Best First'.
Re: Re: POSIX.pm and Perl 5.004_02 - Compatible?
by LeeC79 (Acolyte) on Sep 08, 2003 at 18:02 UTC
    I do not have a version of posix with 5.004_02. When I run that line of code you gave, this is what I get:
    Can't locate POSIX.pm in @INC (@INC contains: C:\Perl\lib\site C:\Perl +\lib c:\pe rl\lib c:\perl\lib\site c:\perl\lib\site .). BEGIN failed--compilation aborted.
    Any ideas?
      It looks that you haven't installed the POSIX module for your perl installation, or the directory where POSIX module is installed is not on your perl module search path. It's a perl installation/system admin issue.