Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
This should do what you're looking for:
By the way, eval traps otherwise fatal errors, so pay attention to what's happening with the code being eval'd. Update:Thanks to everyone for pointing out the scoping and performance problems with eval. It just 'popped in there' like the Stay-Puffed marshmallow man. In reply to Re: Probably an easy one - store command in variable.
by socketdave
|
|