Re: Importing package symbols

2002-04-08 Thread Jonathan E. Paton
[EMAIL PROTECTED] wrote... Jonathan edited: > package TestUtil; Nope... not if you are using: > use wcppe::TestUtil('test_msg'); in the script. They have to match. The prefered way to write that use is: use wcppe::TestUtil qw(test_msg); since you can add extras in easily. Jonathan Paton

Importing package symbols

2002-04-08 Thread p
Hi, I've got a file with a bunch of subroutines, wrapped up in a package. I can load up the package from my main program (using lib), and access the subs in a foo::bar() kind of way. But I'd like to access them just as bar(), i.e. import the symbols or whatever. Problem is that the usual Expor