Re: Hash problem

2006-01-31 Thread Andrej Kastrin
John W. Krahn wrote: Andrej Kastrin wrote: Dear all, Hello, I have bar separated file: name1|345 name2|201 ... I store it into a hash; while () { chomp; ($name,$score) = split (/\|/,$_); $hash{$name} = $score; } Then I have second file: ID - 001 NA - name1 NA - name2 ID - 0

Re: regarding panic error message.

2006-01-31 Thread Adriano Ferreira
On 1/31/06, Nischitha <[EMAIL PROTECTED]> wrote: > Can any one please explain me what are these panic error message. When will > they be generated. Panic error messages are usually triggered by Perl core code. I have seen them when some piece of the interpreter (like the parser) produced an inc

Re: how to share variable across multi-processes

2006-01-31 Thread Jeff Pang
hi,Zentara, I know little about perl's thread,so I am not certain to make it run successfully under thread mode. In fact,my program is not complicated.It accept the following data-line from about 200 clients: 1_uee002##_01_100g836j:2048000:get and use these elements to build a hash: my %r

Re: regarding panic error message.

2006-01-31 Thread Jay Savage
On 1/31/06, Nischitha <[EMAIL PROTECTED]> wrote: > Hello All, > > Can any one please explain me what are these panic error message. When will > they be generated. > > 1. Is it generated due to system level error > 2. Or is it generated due to user level coding. > > regards > Nischitha >

Can't locate object method "TIEHASH" via package "Apache::Session::MySQL"

2006-01-31 Thread The Ghost
All the sudden I'm having problems with this module. Ever since I switched servers. # perl -v This is perl, v5.8.7 built for i386-freebsd-64int Apache::Session is up to date (1.80). Apache::Session::MySQL is up to date (1.01). DBD::mysql is up to date (3.0002). oh, my code: eval {

Re: Can't locate object method "TIEHASH" via package "Apache::Session::MySQL"

2006-01-31 Thread Chas Owens
On 1/31/06, The Ghost <[EMAIL PROTECTED]> wrote: > All the sudden I'm having problems with this module. Ever since I > switched servers. > > # perl -v > > This is perl, v5.8.7 built for i386-freebsd-64int > > Apache::Session is up to date (1.80). > Apache::Session::MySQL is up to date (1.01). > DB

tracking emails sent

2006-01-31 Thread DBSMITH
Perlers I have Perl program that looks for a certain string in a inode backup log file and if the log file is <= 5 minutes old it will continue on. If it finds this string from todays date 00:01 to 00:00 on it will email a warning. My problem is it mails once then it will mail again about the same

RE: tracking emails sent

2006-01-31 Thread Timothy Johnson
Just some thoughts: * What about using a hash to keep track of which strings you've already gotten? * What about keeping the line number and starting your reading at the next line? (For example, use the $. variable, and then copy it to $currentLine at the end of the current read, then do a "ne

Re: Can't locate object method "TIEHASH" via package "Apache::Session::MySQL"

2006-01-31 Thread The Ghost
Are you sure that a. the module is installed in a directory that is in @INC and b. that you are using the module (ie use Apache::Session::MySQL;). Given that fact that it worked before, but not now I would assume that it is a module installation problem, not a code problem. a yes b oddly enoug