next up previous contents
Next: Reference Types Up: Practical Perl Programming Previous: Summary

References

A reference is a scalar value that points to a memory location that holds some type of data. Everything in your Perl program is stored inside your computer's memory. Therefore, all of your variables and functions are located at some memory location. References are used to hold the memory addresses. When a reference is dereferenced, you retrieve the information referred to by the reference.


 

dave@cs.cf.ac.uk