Grant Street Group Interview Question

How do you dereference a hash in Perl?

Interview Answers

Anonymous

Jul 17, 2012

Sorry, the site comment sanitizer killed the syntax. It's: percent, open brace, $hash_ref, close brace.

1

Anonymous

Jul 17, 2012

You can't dereference a hash, only a hash reference. This is the sytax: $hash_ref }.