"be consistent" | |
PerlMonks |
Re: Grabbing Variable Namesby pfaut (Priest) |
on Jan 11, 2003 at 21:36 UTC ( [id://226131]=note: print w/replies, xml ) | Need Help?? |
You could probably work something up from perl's symbol tables. The root is at %$main::. Lookat perldoc perlmod or Programming Perl page 293 under 'Symbol Tables'. For a quick dump of the symbol table, try this. perl -MData::Dumper -e "print Dumper(\%main::)"
In Section
Seekers of Perl Wisdom
|
|