On Apr 9, Gary Hawkins said:

>I was thinking there might be an instance where 'package bar' is
>essential, or the best way to go.

Perhaps you're missing the point.  The package directive allows you to
change namespaces.  Your Perl program operates in package 'main'.  Most
modules operate in their OWN package.  Why?  Because if everything
happened in the same package, pretty soon, variables would be overwriting
each other left and right!

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.
[  I'm looking for programming work.  If you like my work, let me know.  ]


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

Reply via email to