[vox-tech] perl - A way to export ALL functions in a package?

Peter Jay Salzman p at dirac.org
Thu Dec 23 21:54:35 PST 2004


On Fri 24 Dec 04, 12:54 AM, David Hummel <dhml at comcast.net> said:
> On Fri, Dec 24, 2004 at 12:35:28AM -0500, Peter Jay Salzman wrote:
> > 
> > Is there a way of telling perl: "Hey, just export every function
> > that's defined in this module".   It's kind of a drag having to keep
> > @EXPORT updated everytime I write more (or delete) code.
> 
> Or just don't export anything and use object oriented lingo.  This may
> or may not be easier depending on the size of your project, but I'd
> recommend this especially if you end up aggregating lots of modules.
> 
> -David

Yeah, but I was kind of hoping to avoid that.   :)

The OOP lingo is OK, but when you start qualifying all the symbols, the
density of white pixels on a black xterm can get hard to handle.  :)

Pete

-- 
The mathematics of physics has become ever more abstract, rather than more
complicated.  The mind of God appears to be abstract but not complicated.
He also appears to like group theory.  --  Tony Zee's "Fearful Symmetry"

GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D


More information about the vox-tech mailing list