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.... not all $tmp
variables need to be 'global' likewise not all functions need to be
named in the same name space...

Jonathan may have confused folks with the piece of 'trickery' about
using this function in an application level piece of code - which
he noticed didn't actually work out the way he had hoped - and has
piously apologized for his APOSTASY.

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 thumb would seem to be:

        if the package assertion makes sense here
                then this should be a Module
                        hence start with h2xs

If one needs to start swapping out name spaces in the middle of
an application code - maybe its time to review the core design???

Alternatively, remember frany freaks old maxim:

        If you roll one that big,
                toke and pass to the right....
                        don't bogart that joint.

ciao
drieux

---

kids these days, no respect for their elders,
not like when I was growing up and we had respect
for our elders and the rest of the deadHeads....


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

Reply via email to