I am just learning about making and using my own packages and moduals
I have a CGI that requires a package. the package is a subroutine that is called on in the main program(CGI) The subroutine works fine as a sub in the main program. but when I put it in a package, it does not work. I thought requiring it (in the first 10 lines of the main program) would be enough to use is.. do I have to call on it? Main program require package do stuff here.... subroutine; sub subroutine { do stuff here } OR--------- Main program require package do stuff here.... subroutine; sub subroutine { call package??? } -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>