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.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to