in reply to Examples fo Where "our" is really needed
To add flexibility, I keep some configuration variables declared at the beginning of the main script, and leave the possibility to change these configurations including other configuration scripts later. This is where our came to rescue me: my fails miserably, restricting scope to each single eval I call.
I know, it wasn't (probably) designed to solve my particular issue* - just a real world example, though...
*To summarise, impossibility to use vars and multiple evals.
Flavio (perl -e 'print(scalar(reverse("\nti.xittelop\@oivalf")))')
Don't fool yourself.
|
|---|