On 3/6/07, Beginner <[EMAIL PROTECTED]> wrote:

use Mymodule qw($server);

package Test;           # Is this the problem?

Probably. Imports are package-scoped. Now you're working in package
Test, and imports from Mymodule aren't available here. Of course, you
can use additional 'use' declarations to import anything you need into
this package as well.

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to