Try something like this:
for(keys %{'main::'}){if(defined $$_){print "\$$_\n\t$$_\n"}}
In reply to Re: Is it possible to get all variable names which are declared?
by Chuma
in thread Is it possible to get all variable names which are declared?
by rsFalse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |