in reply to Can you use string as a HASH ref while "strict refs" in use?
Can you use string as a HASH ref while "strict refs" in use?
Of course you can , just use it as a key of a hash whose value is a hashref, naturally:D
my %pad; $pad{$string} ||= {}; $pad{$string}{hashref}=12; my $global = \%global::; $global->{$string}{hashref}=12;
I tried to explain to the coworkers what the problem was, but those not familiar with Perl were not able to understand.
Did you compare a "symbolic reference" to a "symbolic link"?
Yes, its hard to understand one part of a machine without understanding how all the parts work
|
|---|