I have a perl package 'A' in which i have defined a variable in global section. This package has two subroutines.Assume i have a perl script in which i am creating object of package 'A'.Using this object i am calling 2 functions of A.My question is,how many times will the variable in global section be redefined out of these 3 actions : object creation,function 1 call , function 2 call
In reply to Perl package scope of global variables by aswingeo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |