if you declare $a with 'my' it is not a global variable. Use 'our' for that. Also the eval is a block that will hide lexical variables declared inside.
In reply to Re: Doubt in Eval
by jethro
in thread Doubt in Eval
by rajan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |