read multiple csv files into array, do some math

2008-11-19 Thread Graham Saathoff
work and why (very brief descriptions or pointers to existing documentation would be more than enough for me). (Please forgive me for using hot dogs as an example. If you're a vegetarian or an animal rights activist, you can substitute something else -- no dogs, hot or otherwise, were harmed i

Re: after upgrade: glibc detected *** /usr/bin/perl: double free or corruption

2008-10-04 Thread Graham Barr
sions of glibc they added a this warning for when free() is called multiple times. I forget the versions, but we saw this in a lot of apps at a previous employer when they upgraded RHEL, which introduced the new glibc Graham. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: after upgrade: glibc detected *** /usr/bin/perl: double free or corruption

2008-10-04 Thread Graham Barr
e using perlbug. perlbug will attach info about the perl build you are using. Graham. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: after upgrade: glibc detected *** /usr/bin/perl: double free or corruption

2008-10-04 Thread Graham Barr
y %outer; tie %outer, __PACKAGE__, $inner; bless \%outer; } } $self = Foo->new; ($self->{prog_name} = $0) =~ s|^.*/([^/]+)$|$1|; Graham. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

file conversion script

2003-10-16 Thread Graham
existing, functional, and EXPLICITLY notated Perl scripts I would be forever indebted. I learn much better by dissecting someone else's work than I do from "Hello, World" programs. I've written too many of those already. If this can be done in BASH, let me know. Grateful

Module for sending Fax

2002-04-16 Thread Robert Graham
Good day Does anyone know of a perl module I can use to send a fax with? Regards Robert Graham -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Maximum ,Minumum

2002-03-27 Thread Robert Graham
alf Of Sudarsan Raghavan Sent: 27 March 2002 14:26 Cc: [EMAIL PROTECTED] Subject: Re: Maximum ,Minumum Robert Graham wrote: > Hi Ozgur > > You can use the following: > > @data = (10,45,2,439); > ($min,$max) = (sort {$a <=> $b} @data)[0,$#data]; IMHO sorting a list t

RE: Maximum ,Minumum

2002-03-27 Thread Robert Graham
Hi Ozgur You can use the following: @data = (10,45,2,439); ($min,$max) = (sort {$a <=> $b} @data)[0,$#data]; Regards Robert -Original Message- From: OZGUR GENC [mailto:[EMAIL PROTECTED]] Sent: 27 March 2002 13:06 To: [EMAIL PROTECTED] Subject: Maximum ,Minumum Hi All, Does anyone hel

PArsing a template file

2002-03-07 Thread Robert Graham
appreciated. Regards Robert Graham South African Weather Service -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Adding quotes to a string variable

2002-01-07 Thread Robert Graham
You have two options: Option one: Put the string between single quotes $a = '"Test Test Test"'; Option two: $a = q("Test Test Test"); Regards Robert Graham -Original Message- From: Hubert Ian M. Tabug [mailto:[EMAIL PROTECTED]] Sent: 07 January 2002

RE: File System Sizes....

2001-11-27 Thread Robert Graham
You can try the following ($percent) = `df -k` =~ /(\d+)%/; Regards Robert Graham -Original Message- From: Kipp, James [mailto:[EMAIL PROTECTED]] Sent: 27 November 2001 15:47 To: 'James Kelty'; [EMAIL PROTECTED] Subject: RE: File System Sizes > > $percent = `df

RE: Off-Topic (200%) - Where are you from?

2001-11-12 Thread Robert Graham
Good morning from Pretoria, in sunny South Africa > By reading the messages everyday I can guess most of us are from United > States right? And since there are not a lot of messages in (my) morning > time, probably means most are from the west coast (different timezone). > > Am I right? > > I'm

RE: Off-Topic (200%) - Where are you from?

2001-11-11 Thread Robert Graham
Good morning from Pretoria,in Sunny South Africa. -Original Message- From: Etienne Marcotte [mailto:[EMAIL PROTECTED]] Sent: 09 November 2001 17:08 To: [EMAIL PROTECTED] Subject: Off-Topic (200%) - Where are you from? By reading the messages everyday I can guess most of us are from Unit

RE: Regular expression help!!

2001-10-25 Thread Robert Graham
You can use the following to remove the space in front $Value =~ /s/^\s+//; And for the sake of interest $Value =~ s/\s+$//; will remove any trailing spaces from a string Regards Robert Graham -Original Message- From: Woz [mailto:[EMAIL PROTECTED]] Sent: 25 October 2001 12:04 To

RE: Regular expression help!!

2001-10-25 Thread Robert Graham
Hi You can try the following: $line = "insert_job: DUKS_rtcf_daily_log_purge job_type: c"; ($rest) = $line =~ m/(\W\w.*)/; Regards Robert -Original Message- From: Woz [mailto:[EMAIL PROTECTED]] Sent: 25 October 2001 11:17 To: [EMAIL PROTECTED] Subject: Regular expression help!! Hi,

Using DBD::ODBC

2001-08-28 Thread Graham Murray
I was trying to use DBD::ODBC to automatically transmit periodic data through ODBC from one server to a web server that has a FileMaker Pro database...any suggestions? Graham _ Get your FREE download of MSN Explorer at http

Re: DBI question (again)

2001-08-02 Thread Robert Graham
Have a look a the "Short Guide to DBI" available at perl.com It has an example with queries. http://www.perl.com/lpt/a/1999/10/DBI.html Regards Robert - Original Message - From: "Elie De Brauwer" <[EMAIL PROTECTED]> To: "Ray Barker" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursda

Re: Re:Net::Ping

2001-07-17 Thread Robert Graham
Hi Jorge You can define the host name as a string eg. $host = "hostname"; where hostname represents the host name on your network, and then refer to the string in the ping command: unless ($p->ping($host)) Hope this helps Robert Graham > Hi I have the following code: > &g

Re: /g

2001-06-25 Thread Robert Graham
Sally The /g does a global match. In other words it finds all occurences of the pattern. Kind regards Robert Graham [EMAIL PROTECTED] Tel: (012) 309 3075 Fax: (012) 323 4518 South African Weather Bureau * Call our Weatherline at: 082 162 Visit our web site at

Re: i'm warning you, this is a toughie!

2001-06-04 Thread Chad Graham
Sounds like a "script alias" problem with the web server. Did you heck out the error log file on the web server??? Chad Graham CDI Engineering Services Nichole Bialczyk wrote: > the bossman has requested the following: > > he wants my logfiles written to our server in the