[Perl-unix-users] How to track down "Memory fault"

2003-03-13 Thread Keirnan, Paul
Title: How to track down "Memory fault" We recently upgraded several bits of software (OS, database, 3rd party app). We then experienced a performance problem (with memory management). Resetting some OS parameters seems to have cured this problem. However, during the investigations, the sys

RE: [Perl-unix-users] foreach and an array of hashes

2003-03-13 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Title: foreach and an array of hashes     learn to use Data::Dumper to see what your data looks like. @emp looks like: $VAR1 = [  {    'position' => 'Cook',    'age' => 50,    'name' => 'Bob'  },  {    'position' => 'Receptionist

[Perl-unix-users] foreach and an array of hashes

2003-03-13 Thread Markham, Richard
Title: foreach and an array of hashes is it possible to foreach through and array of hashes and reference the objects attributes? In testing I am just trying to print each employee name. my @emp; $emp[0]=new_employee("Bob",50,"Cook"); $emp[1]=new_employee("Jane",20,"Receptionist"); $emp[2]

[Perl-unix-users] combining functions & using there return values

2003-03-13 Thread Markham, Richard
Title: combining functions & using there return values in the following scenario I tried to nest lc() within a grep and wasn't able to get expected results. the following greps the output of unix "ps" looking for Oracle SID apache processes and is expecting a count greater than 0. if ((grep

RE: [Perl-unix-users] changing time from database to CET?

2003-03-13 Thread Byrne, Dermot
thanks Bill, I agree with you, my website has users from different timezones, you see. I let them choose the language they view the site in and so I also want them to see times in their own timezone I do have the GMT time in the database, and as you suggested I am using localtime (or trying to)