laziness, impatience, and hubris | |
PerlMonks |
Re: What kind of code prints GLOB(hexaddress)by DigitalKitty (Parson) |
on Jun 06, 2003 at 20:18 UTC ( [id://263841]=note: print w/replies, xml ) | Need Help?? |
Hi Anonymous Monk.
I can understand how you feel. I have 'inherited' code written by co-workers ( past and present ) and the quality isn't always 'stellar' ( no documentation, large program with very few subroutines, etc. ).
Output:
The ref() function receives a reference argument and returns a string describing the type of reference passed to it. You are correct in assuming the hex number is a memory address. In 'C', this is essential when working with pointers but perl's use of references is safer and possesses improved stability. Hope this helps, -Katie.
In Section
Seekers of Perl Wisdom
|
|