Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am creating a module that works with a commercial software package. The problem is that for the module to work right, the module must be given the location of the software on the server (i.e. its path). What's the proper way of doing this? I thought of declaring the path in a variable before using the module. In other words, something like this:
That didn't work. The module couldn't see the variable. Any ideas? Thanks.$softwarepath = "/usr/local/etc/software"; use module;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Module and software path
by jasonk (Parson) on Mar 17, 2003 at 19:07 UTC | |
by Anonymous Monk on Mar 17, 2003 at 19:12 UTC | |
by jasonk (Parson) on Mar 17, 2003 at 19:38 UTC | |
by Anonymous Monk on Mar 17, 2003 at 20:21 UTC | |
by Steve_p (Priest) on Mar 17, 2003 at 20:55 UTC | |
|
Re: Module and software path
by webfiend (Vicar) on Mar 17, 2003 at 18:56 UTC | |
by Anonymous Monk on Mar 17, 2003 at 19:06 UTC |