Refer How to post a question
I think you need closures. If not, please explain your question?
Read closures in Advanced Programming in perl by Sriram srinivasan
Your Attempt May Fail, But Never Fail To Make An Attempt
In reply to Re: my variables in a subroutine
by lakshmananindia
in thread my variables in a subroutine
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |