Re: use of package in a script

2002-04-11 Thread drieux
On Wednesday, April 10, 2002, at 09:20 , Jenda Krynicky wrote: No flame war intended... [..] > Anyway ... to sum this all up I'd say: > > 1) If you are not sure you know whadaheck package means ... >don't use it in your code. > 2) If you introduce another package in a script

RE: use of package in a script

2002-04-10 Thread David Gray
> 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? Co

Re: use of package in a script

2002-04-10 Thread Jenda Krynicky
From: drieux <[EMAIL PROTECTED]> > On Wednesday, April 10, 2002, at 07:27 , Jenda Krynicky wrote: > > > From: drieux <[EMAIL PROTECTED]> > [..] > >> if the package assertion makes sense here > >> then this should be a Module > >>hence start with h2xs > > > > Well ... imagine

Re: use of package in a script

2002-04-10 Thread drieux
Jenda, On Wednesday, April 10, 2002, at 07:27 , Jenda Krynicky wrote: > From: drieux <[EMAIL PROTECTED]> >> Unless someone can come up with a really HOT idea as to why one >> would want to put a 'package declaration' in an application - [..] >> if the package assertion makes sen

Re: use of package in a script

2002-04-10 Thread drieux
On Wednesday, April 10, 2002, at 07:27 , Jenda Krynicky wrote: > From: drieux <[EMAIL PROTECTED]> [..] >> if the package assertion makes sense here >> then this should be a Module >>hence start with h2xs > > Well ... imagine you need some custom class of objects in your >

Re: use of package in a script

2002-04-10 Thread Jenda Krynicky
From: drieux <[EMAIL PROTECTED]> > 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... the simple rule of th

use of package in a script

2002-04-09 Thread drieux
volks, I think we need to address Gary Hawkin's questions about the package 'function' beyond the obligatory cf. perldoc -f package - and folks SHOULD check it out. it gives the simple introduction to doing 'name space management' - one of the reasons that 'lexical scoping' is IMPORTANT