]]
> > Sent: Tuesday, August 14, 2001 16:13
> > To: Yacketta, Ronald; Beginners (E-mail)
> > Subject: RE: Code for review
> >
> >
> > At 01:38 PM 8/14/01 -0400, Yacketta, Ronald wrote:
> >
> > > > $regex = 'join ('|', keys %lookF
t SWITCH;
}
}
}
Regards,
Ron
> -Original Message-
> From: Peter Scott [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 14, 2001 16:13
> To: Yacketta, Ronald; Beginners (E-mail)
> Subject: RE: Code for review
>
>
> At 01:38 PM 8/14/
On Tue, Aug 14, 2001 at 10:33:31AM -0400, Yacketta, Ronald wrote:
>
> Please be open and honest, I am looking to speed up the script and make it
> more efficient as well
>
> sub get_oracle_time () {
> # Lets get the time it takes to connect to oracle
> my ( $key, $value );
> $orati
At 01:38 PM 8/14/01 -0400, Yacketta, Ronald wrote:
> > $regex = 'join ('|', keys %lookFor);
> > if (/($regex)/o) {
> ># Now switch on $1 for your specific sub-tests like /Factory/ etc
> > }
> >
>
>could you kindly elaborate some on this part?
>I thought one could only "switch" on numeric valu
> $regex = 'join ('|', keys %lookFor);
> if (/($regex)/o) {
># Now switch on $1 for your specific sub-tests like /Factory/ etc
> }
>
could you kindly elaborate some on this part?
I thought one could only "switch" on numeric values?
switch {
case 1:
case 2:
case 3:
default:
}
Regards,
Ron
At 10:33 AM 8/14/01 -0400, Yacketta, Ronald wrote:
>I spoke with Mr. Peter Scott and he informed me that I would be ok to
>cut/paste my code in
>an email and post it to the list,
Didn't think of the posting a URL solution at the time :-(
>Please be open and honest, I am looking to speed up the s