Help for this page
$apples = 10; $pears = 6; ... my $ref = shift; # a reference $$ref-- # access the value of the referenced scalar }
I've still got 9 apples and 5 pears.