Mail Archives: djgpp/2000/04/05/12:22:15
Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:
: On Thu, 30 Mar 2000, Christopher W Gray wrote:
: > I just installed the GNU distribution for Windows 95. I have a short
: > perl program which runs okay on Unix (SGI). The program has the
: > statement:
: >
: > require 'POSIX';
: Didn't you mean to say "use POSIX;" instead?
I don't think it matters compileatively (uh! what's the word in English?).
: > I am issuing the command-line:
: >
: > perl "c:\My Documents\perl_stuff\abc.pl
: >
: > The perl interpreter complains with the message:
: >
: > Can't locate POSIX in @inc (@inc contains: c:/fsf/lib/perl5
: > c:/fsf/lib/perl5/site cL/fsf/lib/perl5/site .) at c:\My
: > Documents\perl_stuff\abc.perl line 2.
On my Solaris system:
; uname -rs
SunOS 5.6
; perl -e 'require POSIX;'
; perl5 -e 'require POSIX;'
; perl -e 'use POSIX;'
; perl5 -e 'use POSIX;'
No compile errors as you can see.
: > The distribution CD did not install the POSIX extensions to Perl. I
: > have no idea what to do to get this to install.
: If "use POSIX" doesn't help, I suggest to post this question to some
: Perl-related forum. I don't think it's a bug in the Perl installation
: provided by the CD, but if it turns out it is CD's fault, please come
: back here and tell the details so we could correct that in future
: releases.
Yes, try comp.lang.perl.moderated or comp.lang.perl.misc.
Right,
MartinS
- Raw text -