> Unless someone can come up with a really HOT idea as to why 
> one would want to put a 'package declaration' in an 
> application - and I have tried, but for the life of me, can 
> not come up with a good reason to go there...

How about as a mnemonic device, or to sort variables by category?
Consider:

$DEFAULT::DEBUG_LEVEL = 5;
@TMP::fileContents = <FILE>;

Then you can do things like:

for(keys %TMP::) {
  ${"TMP::$_"} = ''
}

Or

for(keys %DEFAULT::) {
  $$_ = ${"DEFAULT::$_"} unless defined $$_
}

I know there are other ways to do things like that, but purely for the
sake of argument ;)

 -dave



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to