Johnson, Reginald (GTI) wrote:
>
> From: John W. Krahn [mailto:[EMAIL PROTECTED]
>>
>> Johnson, Reginald (GTI) wrote:
>>>
>>> foreach $bkline (@bkupArray) {
>>> my
>>> ($bkup_node_ora,$bkup_db,$bk_blank,$id,$type,$cap,$start,$filler,$filler2,$filler3,$filler4,$b
-Original Message-
From: John W. Krahn [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 18, 2007 4:15 PM
To: Perl Beginners
Subject: Re: Inefficient code?
Johnson, Reginald (GTI) wrote:
> My code is comparing the variables node and db in one input file to
> bkup_node and bkup_db
Johnson, Reginald (GTI) wrote:
> My code is comparing the variables node and db in one input file to
> bkup_node and bkup_db in the other input file. If they match then a
> line is written to the output file. While I am getting the desired
> output I don't think I am doing this in the most efficie
On 2/15/07, Johnson, Reginald (GTI) <[EMAIL PROTECTED]> wrote:
My code is comparing the variables node and db in one input file to
bkup_node and bkup_db in the other input file.
Really?
if (($node =~ /$bkup_node/) && ($db =~
/$bkup_db/)) {
It looks as if you're usi