in reply to Problems with Contents of $0 when using ActiveState PerlApp

Is there a reason as to why the output is different...

$0 contains the command that started the script. Since the Perl script and compiled Perl script were started with different commands, it's only normal for $0 to be different. Perhaps __FILE__ would be more useful to you than $0?

  • Comment on Re: Problems with Contents of $0 when using ActiveState PerlApp