Re: SybPerl - Memory leaks

2002-05-02 Thread Rune Hegrenes
The same thing happens when I comment out the checks. The script uses more memory when I connect to the database: $dbh = new Sybase::DBlib $userid, $password, $host; $dbh->dbuse($database); Rune - Original Message - From: "Jonathan E. Paton" <[EMAIL PROTECTED]> To: <[EMAIL PROT

Re: SybPerl - Memory leaks

2002-05-02 Thread Rune Hegrenes
The script is not smallish, but the main loop looks like this: { # Connecting $dbh = new Sybase::DBlib $userid, $password, $host; $dbh->dbuse($database); # Checking checkProsesses(); checkSegmentStatus(); getMonitor(); # Disconnecting $dbh->dbclose; } Rune

SybPerl - Memory leaks

2002-05-02 Thread Rune Hegrenes
Hi I've created a script that is checking the status of an ASE-server. It's running in an infinitive loop: 1. Connect to the database 2. Doing som checks... 3. Disconnecting from the db 4. Sleeping for avile 5. I found that the perl prosess is using about 4k more memory fo

Sybase stored procedure

2002-04-08 Thread Rune Hegrenes
Hi I'm trying to execute a stored procedure in my database from Perl. I seen get only the first resultset from the procedure, not the rest (the procedure returns 4 resultsets). How do I do this? I'm using the DBI::Sybase package. Is there any documentation on this package? Rune

DBI

2002-04-05 Thread Rune Hegrenes
Hi I have to create an perl script that connects to a sybase adaptive server enterprise database (ASE). I have downloaded a file called DBI-1.18.tar.gz. But I can't get it installed. It needs to be compiled using make (nmake). This does not work. 1. How do I do this? 2. Is there a DBI version

Learing perl

2002-03-25 Thread Rune Hegrenes
Hi I'm trying to learn perl. Are there any good resources on the net where I can begin?? What software do I need? I have downloaded an evaluation version of PerlBuilder: Is this any good? Thanks for any help... Rune