Pagoda wrote: > problem about compiler > > Below is the code: > #! /usr/bin/perl > use Cwd qw/cwd abs_path/; > print cwd, "\n"; > > I compiled my code: > $perlcc -o hello hello.pl > > the following infor were printed to stdout: > Note (probably harmless): No library found for -lposix > pccslkmZ.c: In function `perl_init_aaaa': > pccslkmZ.c:15202: warning: decimal constant is so large that it is unsigned > > and I ran the binary: > $ hello > > the following infor were printed to stdout: > Undefined subroutine &main:: called at hello.pl line 4. > > What's wrong with it? > Give me a hand please. I have always had some problems with "perlcc", probably because I am on Windows. I use "pp" which is either part of PAR or works with it.
Robert -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>