Re: perl path

2001-07-20 Thread Anshu Anshu
What could be the cause of such error ? Missing $ on loop variable at /usr/apps/FreeWare/perl5.005/lib/5.00502//strict.pm line 90. BEGIN failed--compilation aborted at /var/gateway.pl line 9. ThNKS -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

different version error

2001-07-20 Thread Anshu Anshu
syntax error in file /var/gateway.pl at line 3, next 2 tokens use lib Execution of /var/commerce/gateway.pl aborted due to compilation errors. bash-2.03$ head -4 gateway.pl #!/usr/local/bin/perl -w use lib '/u01/orap/pora/8.0.6/lib/'; use lib '/usr/apps/FreeWare/Perl-5.03/lib/perl5/'; use lib

Oraperl to DBI

2001-07-20 Thread Anshu Anshu
HI All, I had a script which was using Oraperl and Perl v-5.003. I did upgrade the perl to 5.6.1 on Solaris 8 sparc. I was getting Oraperl error and I learnt that I should use DBI not Oraperl. I installed the DBD and DBI and want to change this script. Currently I am getting this error.

perl path

2001-07-19 Thread Anshu Anshu
I got a perl script .. First two line are like I never saw before .. #!/usr/local/bin/perl #!/temp_perl/bin/perl -I/temp_perl/lib/perl5 -I/temp_perl/lib/perl5/5.00502 -I/temp_perl/lib/perl5/site_perl/5. 005/sun4-solaris/ Anyone has any idea what is meaning of 2nd line above. -- To

Upgrading perl problems ?

2001-05-16 Thread Anshu Anshu
HI All, I have one small doubts and I want to share with you to make sure. I was using old version of perl5 and couple of scripts were using DBD, DBI, Time modules. Recently I did upgrade the perl5 version 5.005_03 (with Sun package ). Will upgarding the perl version will break something ?

what's wrong in systax

2001-05-08 Thread Anshu Anshu
22 while (IF) { 23 if (/$LOCTAG/i) { 24 ($curloc) = /VALUE=([^]+)\s*\w*/i; 25 $location .= ${curloc}::; 26 } 27 28 if (/$TYPETAG/i) { 29 ($curtype) = /VALUE=([^]+)/i; 30 $jobtype .= ${curtype}::; 31 }

Re: what's wrong in systax

2001-05-08 Thread Anshu Anshu
in substitution (s///) at gen_job.pl line 35. Thanks AS - Original Message - From: Jeff Pinyan [EMAIL PROTECTED] To: Anshu Anshu [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, May 08, 2001 5:28 PM Subject: Re: what's wrong in systax On May 8, Anshu Anshu said: 22 while

UNTIE () ERROR

2001-05-07 Thread Anshu Anshu
Hi all, I am geting this error message while trying to run my perl script. Can't modify reference constructor in untie at ./keeq.pl line 320, near $dbref) BEGIN not safe after errors--compilation aborted at ./keeq.pl line 327. below is few portion of my script. Let me know if you can help me