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
;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
(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
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
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
.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
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