Dermot <paik...@googlemail.com> writes:

[...]

> my %inverse_hash = invert( \%hash );
>
> invert() is being passed a reference to the hash. References are a
> useful and efficient way to pass data around [1]. You can create a
> reference by putting a back-slash in front of your data. EG:

[...] snipped more good info

Thank you, having this explained several ways really helps deepen my
feeble understanding.


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to