Programming Languages C# Subjective
Mar 14, 2013

How to dereference a reference?

Detailed Explanation

There are a number of ways to dereference a reference.
Using two dollar signs to dereference a scalar.
$original = $$strref;
Using @ sign to dereference an array.
@list = @$arrayref;
Similar for hashes.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback