--- Wiggins d Anconia <[EMAIL PROTECTED]> wrote:
> > You only have to dereference if you are trying to do something to the
> > structure in aggregate, aka you have to supply a hash, such as is the
> > case for 'keys', 'values', and 'each'.  If you want to access a single
> > value from the nested hash, you can access it directly using the little
> > arrow syntax,
> > 
> > $printers->{jobs}->{4};

Yes, now i got it.

> 
> Dammit, $printers is not a hash reference, so the above will not work
> (boy everyone can see how I normally do it ;-)), for your example that
> should read,
> 
> $printers{jobs}->{4};

Using my example, the followed works perfectly:

$printers{jobs}->{'d00011-001'};


> Which going back to your post, I see you already had. Sorry for the noise,

Thank you very much Wiggins.


                
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to