> Many of my scripts depend upon requiring a config file which stores common
> subroutines and global variables, applicable to more than one script. I
> add this to my script that is currently running using the:
Sounds like those are global constants. Maybe use the constant pragma in
your module then import those variables into the user's namespace. Or
even create you own namespace and import that: $G::foo.
> Wishing to better my programming, I want to use the "my" command in order
> to declare my variables. However, I have found that a variable declared
> with "my" in the required file is not available in the script that calls
> the require file.
Damian Conway's Object Orient Perl has a few good pages on lexical vs.
package variables.
- Ron
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web