Re: Perl Question

2003-07-15 Thread Peter Barnett
PROTECTED] 07/14/2003 03:49 PM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:Perl Question I am mucking through my first real perl script. When it is finished it will install statspack on all

Perl Question

2003-07-14 Thread Peter Barnett
I am mucking through my first real perl script. When it is finished it will install statspack on all of the database throughout the company. That's a gob of databases! To run in batch mode statspack requires two define statements: define default_tablespace = tablespace_name define

Re: Perl Question

2003-07-14 Thread Jared . Still
/14/2003 03:49 PM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:Perl Question I am mucking through my first real perl script. When it is finished it will install statspack on all of the database throughout

Perl Question - Split using |

2002-07-05 Thread Celine John
After seeing the e-mails about Perl for Oracle-DBAs, I presume, my question wouldn't be completely inappropriate for this list. So if you Oracle Gurus, can help me with this Perl problem, I would greatly appreciate it. I have a problem with split when my delimiter is |. I know that if I

Re: Perl Question - Split using |

2002-07-05 Thread lembark
-- Celine John [EMAIL PROTECTED] on 07/05/02 06:43:25 -0800 After seeing the e-mails about Perl for Oracle-DBAs, I presume, my question wouldn't be completely inappropriate for this list. So if you Oracle Gurus, can help me with this Perl problem, I would greatly appreciate it. I have

Re: Perl Question - Split using |

2002-07-05 Thread Jared Still
Don't escape if it's in a variable. Ask yourself why you have to escape it when used literally. Jared On Friday 05 July 2002 07:43, Celine John wrote: After seeing the e-mails about Perl for Oracle-DBAs, I presume, my question wouldn't be completely inappropriate for this list. So if you

Re: Perl Question - Split using |

2002-07-05 Thread Andy Duncan
Hi Celine, After seeing the e-mails about Perl for Oracle-DBAs, I presume, my question wouldn't be completely inappropriate for this list. So if you Oracle Gurus, can help me with this Perl problem, I would greatly appreciate it. I have a problem with split when my delimiter is |.

Re: Perl Question - Split using | - Resolved

2002-07-05 Thread Celine John
Wonderful! Thanks for all who responded. I always count on you guys. --- Andy Duncan [EMAIL PROTECTED] wrote: Hi Celine, After seeing the e-mails about Perl for Oracle-DBAs, I presume, my question wouldn't be completely inappropriate for this list. So if you Oracle Gurus, can help

Re: Perl Question - Split using |

2002-07-05 Thread Alex
my $HeaderAttributes = abc|defgh|123; $HeaderAttributes =~ s/\|/\\|/g; On Fri, 5 Jul 2002, Celine John wrote: After seeing the e-mails about Perl for Oracle-DBAs, I presume, my question wouldn't be completely inappropriate for this list. So if you Oracle Gurus, can help me with this Perl

Re: Perl Question - Split using |

2002-07-05 Thread Jared . Still
: Perl Question - Split using | Hi Celine, After seeing the e-mails about Perl for Oracle-DBAs, I presume, my question wouldn't be completely inappropriate for this list. So if you Oracle Gurus, can help me with this Perl problem, I would greatly appreciate it. I have a problem with split

Off-topic Perl Question

2002-01-25 Thread ALEMU Abiy
I know that this is not the forum to ask perl questions. But is there some one who can help me on how to read two lines at a time using a Perl script My script looks like this : open(FILE_IN, $datafile) or die Cannot open $datafile...\n; while(FILE_IN) { chomp; @fields =

Re: Off-topic Perl Question

2002-01-25 Thread Steven Lembark
Three methods: read newline delimeted two at a time, read the whole thing and process it in pairs of lines or read twice the size of a fixed-length line from columnar data: while() { my $line = $_ . ; ... } or my @linz = ; for( my $i = 0 ; $i @linz ; $i += 2 ) { my @twolinz = (

Re: OT: Perl question

2001-06-21 Thread Jared Still
Nice job of investigating the problem. Glad you got it working. Installing Perl is much easier after the first 3 or 4 times. :) Jared On Monday 18 June 2001 01:45, Nguyen, Long (ITS, Limestone Ave) wrote: Hi Jared, Thank you for your advice. Without setting LD_LIBRARY_PATH before the

RE: OT: Perl question

2001-06-18 Thread Nguyen, Long (ITS, Limestone Ave)
Hi Jared, Thank you for your advice. Without setting LD_LIBRARY_PATH before the installation I got the message ld.so.1: perl: fatal: libgdbm.so.2: open failed: No such file or directory during the Configure step. So I tried the installation again and this time not setting the

Re: OT: Perl question

2001-06-16 Thread Jared Still
Sorry to tell you this Long, but the reason you are having this problem is that you compiled Perl by setting LD_LIBRARY_PATH=/usr/local/lib. This shouldn't be done. It should be compiled *without* setting LD_LIBRARY_PATH, other than for Oracle software. I saw that you did this in a previous

OT: Perl question

2001-06-15 Thread Nguyen, Long (ITS, Limestone Ave)
Hi, The Perl 5.005_03 software on my Solaris 2.6 box did not have the GDBM_file module in it, so I removed it, installed GNU gdbm software, and re-installed Perl 5.005_03 that I got from CPAN. However now every time I run Perl the system gives me this message ld.so.1: perl: fatal:

RE: Perl question

2001-06-15 Thread Guy Hammond
I'm not sure how to force Perl to check there, because I don't think it's a Perl thing, it's an OS-level loader thing. Try editing /etc/profile, add the line LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib Then on the line which reads export... append LD_LIBRARY_PATH This will ensure that the