컴파일하고 싶은 코드는 다음과 같습니다.
[root@test perlcc_test]# ls
hello.pl
[root@test perlcc_test]# cat hello.pl
#!/usr/bin/perl
print( "hello?\n" );
[root@test perlcc_test]# perl hello.pl
hello?
perlcc 컴파일러를 사용해서 컴파일했는데, 컴파일은 잘 되지만 다음과 같은 경고가 납니다.
[root@test perlcc_test]# perlcc -o hello hello.pl