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?
In reply to Re: Problems with Contents of $0 when using ActiveState PerlApp
by ikegami
in thread Problems with Contents of $0 when using ActiveState PerlApp
by ozboomer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |