PockMonk has asked for the wisdom of the Perl Monks concerning the following question:
and then use this just as with a 'proper' module from CPAN:package MyPackage; sub doSomething { #do something, mutley }
However, I have basic server access only and cannot install new modules on the CGI server. So my question is, is there a way to do something similar to give me a reusable code chunk that can be accessed from multiple scripts without creating and installing a module?use MyStuff; my $a = "foo"; my $b = doSoemthing($a);
|
|---|