I've tried to edit the code I've provided to be more specific but I don't really know what you mean. I have 2 variables, $randomString and $file and I would like them to have the same values in each subroutine. The code I've provided is a cgi script (functioning) and illustrates the these variables have different values in each subroutine.
In reply to Re^2: Accessing Variables in Different Subroutines
by stefl
in thread Accessing Variables in Different Subroutines
by stefl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |