As far as I know this should create a hash reference
Yes that is correct.
What exactly means 'dereference to the LHS value'?
LHS = left hand side. I meant that the arrow operator takes a reference on the left, and dereferences it (ie. 'replaces' it with what it points to). You can then subscript it in various ways, with a key (for a hashref), an index (arrayref), parameters (coderef), or a method (object).
A hashref is not a hash, and thus you cannot access it directly. You need to first "fetch" the hash that it points to.
In reply to Re^5: Getting Getopt::Long values into a hash
by fishbot_v2
in thread Getting Getopt::Long values into a hash
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |