The environment:
Perl Version: v5.8.4 built for MSWin32-x86-multi-thread
Binary build 810
Built Jun 1 2004 11:52:21
PerlApp Version: 6.0.1 build 138990
OS: Microsoft Windows XP Version 5.1.2600
The script I'm using to reproduce the problem:
Now, when I run the script (p.pl), I get the expected output, viz:use Cwd; use FindBin qw($RealBin); $this_proc = $0; # Get name of this p +rogram $this_proc =~ s#.*\\##; # Just the name.ext $this_proc_path = $0; # Dir. path $this_proc_path =~ s#$this_proc##; $this_proc = $0; # Get name of this p +rogram $this_proc =~ s#.*\\##; $this_proc =~ s/\.pl//ig if ($this_proc =~ /\.pl/); $this_proc =~ s/\.exe//ig if ($this_proc =~ /\.exe/); printf("\$this_proc: $this_proc\n"); printf("\$this_proc_path: $this_proc_path\n"); printf("\$RealBin: $RealBin\n");
However, when I use PerlApp from the Perl Development Kit, I get the following output:$this_proc: P.PL $this_proc_path: C:\tmp\ $RealBin: C:/tmp
The command line I use to invoke PerlApp is:$this_proc: p $this_proc_path: $RealBin: C:/tmp
perlapp --norunlib --clean --force --exe p.exe --perl C:\Perl\bin\perl +.exe p.pl
Is there a reason as to why the output is different... or should this be considered a bug? I remember reading there was a problem with build 804 (I think) but I don't know if it's supposed to be resolved.
Thanks.
John
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |