I have the following problem. I am running a kornshell script that setup the environment and then invokes perl by using the following code
exec ${ECU_PERL_EXEC} -x $0 $* #!perl -w -d use strict; use Net::SFTP::Foreign; use Mail::Mailer; use Getopt::Std; use File::Temp; use File::Copy; ...
My problem is that when perl starts when it finds the #!perl line it enters Perl with no problem and enters debug. It displays lines, but not the actual code on the line. If I run the script directly under Perl it displays the source. I have looked at the Perl command line options and I can't find out how to have it show the source like it will if Perl is invoked directly.
In reply to display source lines under debug after exec by BillB
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |