Hi
Could anybody clarify the following:
1. Is there any option available for debugging perl script?
2. What are these following options?
Perl -d <scriptname>.perl
Perl -e <scriptname>.perl
3. How to write a function in perl for the following?
The following is the string which I want to perform inside a
function.
@progarg = ("sqlplus","$ENV{"USERID"}/ $ENV{"PASSWD"}\@
$ENV{"DBINST"}","\@$ENV{"HOME"}/cfn.sql
$args");
Here each of the string within " " is added in the list progarg, and
is then executed as system(@progarg);
If we change the above as
$rc = &progarg("sqlplus","$ENV{"USERID"}/ $ENV{"PASSWD"}\@
$ENV{"DBINST"}",
"\@$ENV{"HOME"}/cfn.sql $args");
How do we perform sub <functionname> (sub progarg) ? Here the last
argv has one more command line argv($args) which is required inside the
cfn.sql file.
And also I want to use the "-s" option for sqlplus like below
"Sqlplus -s << EOF
$ENV{"USERID"}/ $ENV{"PASSWD"}\@ $ENV{"DBINST"}
whenever sqlerror exit 2;
\@$ENV{"HOME"}/cfn.sql $args
EOF"
Please reply to my mailid.
Thanks in advance,
Chandrasekar.
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]