print "The value is ", $data->{args}->{stuff}, "\n";
Other ways to write this — which should clarify what's going on:
print "The value is ", $::{''}->{stuff}, "\n"; print "The value is ", $::{$data->{args}}->{stuff}, "\n";
(all three print "The value is bother")
In reply to Re: The hidden hashref
by almut
in thread The hidden hashref
by nickandrew
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |