Perl Tutorials - Herong's Tutorial Examples
Dr. Herong Yang, Version 5.00

Symbolic (or Soft) References

This chapter provides tutorial examples and notes about symbolic (or soft) references. Topics include replacing variable or function identifiers with string expressions in curly brackets {}; using scalar variables without {}; using the dereference operator -> with array, hash, or function subscription: EXPR->[*], EXPR->{*}, or EXPR->(*).

Using Symbolic References

$$name - Replacing Identifiers by Scalar Variables

${EXPR} - Replacing Identifiers by Expressions

EXPR->* - The Dereference Operator

$$$name - Nested Symbolic References

Dr. Herong Yang, updated in 2008
Symbolic (or Soft) References