AW: Access single element of AOH

2011-02-21 Thread HACKER Nora
Perfectly clear, thanks, works already :-) Kind regards, Nora > -Ursprüngliche Nachricht- > Von: Malesha, Sachin [mailto:sachin.male...@siemens.com] > Gesendet: Montag, 21. Februar 2011 10:16 > An: HACKER Nora; beginners@perl.org > Betreff: RE: Access single element

RE: Access single element of AOH

2011-02-21 Thread Malesha, Sachin
;stp'}\n"; Hope this clarifies. Regards, Sachin -Original Message- From: HACKER Nora [mailto:nora.hac...@stgkk.at] Sent: Monday, February 21, 2011 2:39 PM To: Malesha, Sachin; beginners@perl.org Subject: AW: Access single element of AOH Hi, Thanks for your reply. The argumen

WG: Access single element of AOH

2011-02-21 Thread HACKER Nora
(forwarded because forgot to „reply all”) Von: HACKER Nora Gesendet: Montag, 21. Februar 2011 10:08 An: 'Parag Kalra' Betreff: AW: Access single element of AOH Hi, Thanks for your reply, but it does not work. It produces an error and returns a wrong result. oracle

AW: Access single element of AOH

2011-02-21 Thread HACKER Nora
ER Nora > Cc: beginners@perl.org > Betreff: RE: Access single element of AOH > > I was able to print with the below line. Be sure that you are passing a value > 0- > 2 as an argument to your script since you have only three elements in your > array. > > print "$obje

Re: Access single element of AOH

2011-02-21 Thread Parag Kalra
print $object->[$stp]->{'lieferung'},"\n"; ~Parag On Mon, Feb 21, 2011 at 12:46 AM, HACKER Nora wrote: > Hello, > > I want to get the value of a key of a Hash that is part of an Array of > Hashes, whereas the correct hash to work with is being determined by the > value of another key which is

RE: Access single element of AOH

2011-02-21 Thread Malesha, Sachin
.hac...@stgkk.at] Sent: Monday, February 21, 2011 2:17 PM To: beginners@perl.org Subject: Access single element of AOH Hello, I want to get the value of a key of a Hash that is part of an Array of Hashes, whereas the correct hash to work with is being determined by the value of another key which i

Access single element of AOH

2011-02-21 Thread HACKER Nora
Hello, I want to get the value of a key of a Hash that is part of an Array of Hashes, whereas the correct hash to work with is being determined by the value of another key which is passed as an argument when calling the script, but haven't yet figured out how. This is my AOH: #!/usr/bin/perl use