Welcome to the Monastery | |
PerlMonks |
Re: retrieving referenced hash informationby DigitalKitty (Parson) |
on Mar 12, 2004 at 19:30 UTC ( [id://336244]=note: print w/replies, xml ) | Need Help?? |
In the example below, I want to know what names are used
for referencing that start with "TH" and their values.
(i.e. THATCODE, THISCODE, etc...)
Hi Sacco.
Output:
The CODE(address) indicates a subroutine. If you wanted to look for keys that did not begin with 'TH', you could use the following program:
Output:
Hope this helps, -Katie.
In Section
Seekers of Perl Wisdom
|
|