On Mon, 26 Aug 2002 15:05:26 -0400, [EMAIL PROTECTED] (William
Ampeh) wrote:

>Hello,
>
>Has anyone experimented with perlcc?
>
>If so, any pointers to how it works will be appreciated.

Yeah, I've experimented with it. It's very buggy. If you are using
perl version 5.6 there is a bug with the Dynaloader that you need to
manually patch. It produces huge executables that are not any
faster than regular scripts. It dosn't include modules very easily.

Also it is being phased out, so you really are wasting time learning
about it. 

I'm waiting for perl6 to come out. From what I read, it's going to be
far better in the internal design, to make compiling easier. I'm not
sure how they are going to do it, but it won't be with perlcc.
Here's a simple example:
#z9b
#####################################
#!/usr/bin/perl
$x=1;
while (1){
sleep(1);
print "$$\t";
print $x++,"\n";
}
exit;
####################################

If I compile it with 
perlcc -o z9c z9b
the executable is over 725k






-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to