Hacker News new | ask | show | jobs
by cutler 1800 days ago
References are scalars in Perl. @$ dereferences an array ref and %$ derefs a hash ref. You can also reference a scalar in Perl and deref it with $$ but I never understood why you would want to.