For one thing, your first example doesn't seem to "use" the module before trying to call the routine.
Another thing to watch for, is that if you plan on saying "use Plugin::Print", then Print.pm will have to be in a directory called "Plugin", and that directory in your search path. But there are other ways of reading in the code, besides "use" and "require".
--rjray
In reply to Re: Re: Re: Dynamic Tk buttons from init file
by rjray
in thread Dynamic Tk buttons from init file
by TunesMan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |