> [EMAIL PROTECTED] - Tue Mar 28 03:39:04 2000]: > > % cat bad > #!/usr/bin/perl > > sub fn { > local $key = "I am the key!"; > print "Have: $key\n"; > } > > fn(); > % perl bad > Have: I am the key! > > % perlcc bad > > -------------------------------------------------------------------------------- > Compiling bad: > -------------------------------------------------------------------------------- > > ERROR: 'bad' does not have a proper extension!
This silly behavior appears to have been fixed. 5.6.2 and 5.8.6 both take "perlcc bad" fine. I can also compile the program. 5.6.2 and 5.8.0 compile with no problem. 5.8.6 warns: 0 windhund ~/tmp$ perlcc bad pccM2diy.c: In function `perl_init_aaaa': pccM2diy.c:1205: warning: this decimal constant is unsigned only in ISO C90 bleadperl is downright boisterous. Its output is attached. I'm leaving this ticket open because of all the warnings.
perlcc.out
Description: Binary data