These references can be applied to all kinds of variables, function, hashes and arrays. Just add \ before the variable/function name and assign to a reference variable which holds the address of the data.

Referencing

Dereferencing

Example

$ref = \ %students;

%{$ref}

%{$recAddr}->{“Name”}

$database[$i]->{“Name”} This is shortcut, while perl handling original %{$database[$i]}->{“Name”}