But wouldn't it get terribly mixed up if your script was run more than once at the same time? And don't you have to "clean up" the environment variables when you end your code? What happens if your code --heaven forbid-- crashes halfway through before you can clean the envoironment? Is there a way to reset the environment to its pristine state?
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
In reply to Re: Re: perl global vars in subroutines
by CountZero
in thread perl global vars in subroutines
by vinforget
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |