Trapping Oracle SQLcodes in Perl

2001-12-08 Thread LAVANYA Mukundan
Hi.. I am new to perl programming. I am right now involved in developing cgi pages in perl. The backend is oracle. I want to know how to trap SQL codes returned from oracle and redirect my error messages to the browser. Right now, in the following piece of code $sql =

calling a server via http

2001-12-08 Thread rory o'connor
I'm not sure if perl is best suited for this project - but I bet it is! I need to call a server (perhaps via lynx?) in a cron'd script and then time how long it takes for the page to load. The reason is that sometimes the remote server stops loading pages due to some unknown problem (this is

Installing BioPerl on OSX

2001-12-08 Thread Nathan Bowen
Can anyone help with this error. I get it after perl Makefile.pl Should I reinstall somewhere else or can I get the perl.h header file? Thanks, NB Error Message at end of Makefile results: Checking if your kit is complete... Looks good Error: Unable to locate installed Perl libraries or Perl s

Re: shifting scalars ??

2001-12-08 Thread Maxim Berlin
Hello Craig, Saturday, December 08, 2001, Craig Inman <[EMAIL PROTECTED]> wrote: CI> As I'm new to perl, I'm more or less trying to write a 'nested while CI> read' loop (atleast that is what my attempts come out to look like so CI> far). CI> trying something like CI> open (A, $list1) or di

Re: calling a server via http

2001-12-08 Thread Maxim Berlin
Hello rory, Saturday, December 08, 2001, rory o'connor <[EMAIL PROTECTED]> wrote: roc> I'm not sure if perl is best suited for this project - but I bet it is! I roc> need to call a server (perhaps via lynx?) in a cron'd script and then time roc> how long it takes for the page to load. roc>

Re: Trapping Oracle SQLcodes in Perl

2001-12-08 Thread Jenda Krynicky
From: LAVANYA Mukundan <[EMAIL PROTECTED]> > I am new to perl programming. I am right now involved in > developing > cgi pages in perl. The backend is oracle. I want to know how to trap > SQL codes returned from oracle and redirect my error messages to the > browser. Right now,

Re: calling a server via http

2001-12-08 Thread Matt C.
Check out the following script: I bet you can very easily tailor it to do exactly what you want. I use it for load-testing... I *believe* this is the original "crashme" script from the mod_perl guide written by Stas Bekman (the script was written by someone else and modified by Stas). Not sure wh

RE: Disable ModPerl

2001-12-08 Thread Bob Showalter
> -Original Message- > From: Agustin Rivera [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 07, 2001 6:40 PM > To: Daniel Gardner > Cc: [EMAIL PROTECTED] > Subject: Re: Disable ModPerl > > > I am under the idea that modperl recycles as many variables > as possible to > speed up scri

Re: Disable ModPerl

2001-12-08 Thread Matt C.
I believe the 'use vars' pragma actually sets up GLOBALS, which very well could be your problem. Scope them locally with 'my', which will keep them from getting re-used with previous values on consecutive hits. Someone please correct me if I'm wrong about the use vars bit...regardless, scope them

RE: Disable ModPerl

2001-12-08 Thread Bob Showalter
> -Original Message- > From: Matt C. [mailto:[EMAIL PROTECTED]] > Sent: Saturday, December 08, 2001 2:07 PM > To: Agustin Rivera; [EMAIL PROTECTED] > Subject: Re: Disable ModPerl > > > I believe the 'use vars' pragma actually sets up GLOBALS, > which very well could be > your problem. S