Hi All

I got a hash like this :


 my %retrn = ( 0 => { 0 => '  successful<br>'},
        1 => { 1 => 'insufficient<br>'},
        2 => { 2 => 'txtfile missing<br>'},
        3 => { 3 => 'bad dir <br>'},
        );

( i know this hash looks funny , but is the hash i got to use )

suppose $stdout = 0;


i need to get the key

my key = keys %{ $retrn{ $stdout} } ;


but i am not getting the desired out put which should be '0'

what am  i doing wrong .
-- 
Regards
Agnello D'souza

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to