AW: AW: how to know weather perl script is already running?

2002-09-30 Thread Theuerkorn Johannes
Jea, thats it! Thats exactly what i had in mind! Thank you very much! This List and it´s members are excellent! Greets Johannes -Ursprüngliche Nachricht- Von: Robin Cragg [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 30. September 2002 15:10 An: Theuerkorn Johannes Betreff: Re: AW: how

how to know weather perl script is already running?

2002-09-30 Thread Theuerkorn Johannes
Hello List, i have a perl script that i have running from a cron Job. It usually opens every 4 hours. But sometimes it takes the script longer to execute its job so after cron opens up the perl script as usual, i have two perl jobs running. Is there any possibility to check weather the script i

AW: AW: Problems with hash of hash referenzes

2002-09-20 Thread Theuerkorn Johannes
real Help! btw, what is the 3D thing in "$n =3D $_;" ? I saw it quite often, but never knew... If you can describe it to me, you are my "king of the week" and i won´t bother you again... Greets Johannes p.s.: have a nice weekend! On Sep 20, Theuerkorn Johannes said: &g

Problems with hash of hash referenzes

2002-09-20 Thread Theuerkorn Johannes
Hi Japhy, wow, it´s been only the my %values declared outside the loop... But why has it to be declared inside, i thougt its "global" if I use it outside? Isn,t it? The Solution without %values at all is also pretty cool! Thanks! >my %values = ( tstamp => $tstamp, ... ); This seems to be also

Problems with hash of hash referenzes

2002-09-20 Thread Theuerkorn Johannes
Hello List, i just got stuck with hashes, hashes of hashes and referenzes... I know i have to study a bit about all of that... :-( So i hope theres somebody who can tell me the way (or direction...) :-) I have a mysql Table and want the values out of the table in a hash of a hash: I have a ti

Still got stuck in Hashes...

2002-08-12 Thread Theuerkorn Johannes
Hi there, I still got Problems with hashes. I have the following code: sub board_database{ my $sth = $dbh->prepare( "SELECT * FROM $table where serial=@_" ) || die "Kann Statement nicht vorbereiten: $DBI::errstr\n"; $sth->execute || die "Kann Abfrage nicht ausfuehren: $DBI::errstr\n

AW: Perl Array Question

2002-08-01 Thread Theuerkorn Johannes
That looks Ok, going to try it with the explicit code... Thanks for Advice! Johannes -Ursprüngliche Nachricht- Von: Connie Chan [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 1. August 2002 13:48 An: Theuerkorn Johannes Betreff: Re: Perl Array Question That's luck that you w

Perl Array Question

2002-07-31 Thread Theuerkorn Johannes
Hi there, i have (a probably simple) Question on Arrays: I want to get some Data out of my SQL Databas. I try using the same Query not only once and put the collected data in diffrent Arrays. for (my $i=0;$i<= $count_SNR_LOG_data;$i++){ print "$i\n"; my $sth_RACT_LOG = $dbh->pr

AW: how to print out a variable if theres a . in it?

2002-07-09 Thread Theuerkorn Johannes
in it? > > > change the line > print "Yeeehaaa: $_ \n"; > to > print "Yeeehaaa: $SNR_LOG \n"; > > and it will work fine. > -Original Message- > From: Theuerkorn Johannes [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 09, 2002 8:10 AM &

how to print out a variable if theres a . in it?

2002-07-09 Thread Theuerkorn Johannes
Hello List, I have a (probably) simple problem: I´am parsing trough a directory an want to print out every filename that exists. (later I want to open those files) Problem is, i have filenames like snr_log.csv,repact.csv,,foo.csv,bar.csv all with a period in between... What I get is an error

getting data from one table, putting it into another...

2002-06-26 Thread Theuerkorn Johannes
Hi there, again one (probably simple) question: I have two databases and want to put the data from one table into the same table in the other database... Doing it like follows up gives me the right values, (like i can see from the later Output) but doesnt write into the second table... Any sugg

cgi:param problem

2002-06-25 Thread Theuerkorn Johannes
Hi there, i´ve got to pass a serial number to a perl.cgi. Doing it via the cgi:param funktion seems not to work. >use strict; >use CGI; >use DBI; >my $cgi_obj = new CGI; >my $seriennummer = $cgi_obj->param("seriennummer"); Passing http://server/script4.pl?seriennummer=CN+/P422 results i

AW: parsing xml files for variables

2002-06-04 Thread Theuerkorn Johannes
MTP:[EMAIL PROTECTED]] > Gesendet am: Dienstag, 4. Juni 2002 15:25 > An: Theuerkorn Johannes > Cc: cgi cgi-list > Betreff: Re: parsing xml files for variables > > > On Tuesday, June 4, 2002, at 05:12 , Theuerkorn Johannes wrote: > > >