Re: How to read this array?

2005-01-27 Thread Ing. Branislav Gerzo
Chris Devers [CD], on Wednesday, January 26, 2005 at 11:11 (-0500 (EST)) thoughtfully wrote the following: >> http://${host name deleted}/orelly/perl/prog3/ch09_03.htm CD> That looks like a pirated copy of one of O'Reilly's bookshelf CDs. uff, I am sorry for that, didn't know, misslooked .ua :( S

Re: How to read this array?

2005-01-26 Thread Alfred Vahau
That looks like a pirated copy of one of O'Reilly's bookshelf CDs. Thank you for pointing this out. I have been an O'Reilly customer on all things Unix and Perl and was shocked to see the online collection. In fact when I visited the site, I was greeted by a pop up banner in what looked like Russi

Re: How to read this array?

2005-01-26 Thread Chris Devers
On Wed, 26 Jan 2005, Ing. Branislav Gerzo wrote: > thats Array of Hashes, so just pust that in google, and you will see. > I did so, and found this: > > http://${host name deleted}/orelly/perl/prog3/ch09_03.htm That looks like a pirated copy of one of O'Reilly's bookshelf CDs. This is, in a re

Re: How to read this array?

2005-01-26 Thread Marcello
Jerry Preston ha scritto: I have this array and I am trying to figure out how to read $id in it. Any ideas? @history = ( { program => 'racer', version => '0.45', input => { '/home/' => undef, }, input_contents => ' $name= \'Jerry\'; $id = \'035\';

RE: How to read this array?

2005-01-26 Thread Manav Mathur
my($val)=$history[0]->{'input_contents'} =~ m/\$id\s*=\s*\'([^']*)\'\;/ ; print $val ; Manav |-Original Message- |From: Jerry Preston [mailto:[EMAIL PROTECTED] |Sent: Wednesday, January 26, 2005 5:58 PM |To: 'Perl Beginners' |Subject: How to read th

RE: How to read this array?

2005-01-26 Thread Moon, John
Subject: How to read this array? I have this array and I am trying to figure out how to read $id in it. Any ideas? @history = ( { program => 'racer', version => '0.45', input => { '/home/' => undef, }, input_contents

Re: How to read this array?

2005-01-26 Thread Ing. Branislav Gerzo
Jerry Preston [JP], on Wednesday, January 26, 2005 at 06:27 (-0600) contributed this to our collective wisdom: JP> @history = ( JP> { JP> program => 'racer', thats Array of Hashes, so just pust that in google, and you will see. I did so, and found this: http://www.unix.org.ua/orelly/perl/

How to read this array?

2005-01-26 Thread Jerry Preston
I have this array and I am trying to figure out how to read $id in it. Any ideas? @history = ( { program => 'racer', version => '0.45', input => { '/home/' => undef, }, input_contents => ' $name= \'Jerry\'; $id = \'035\'; 1; ', perl