problem about submodule-Collection of common programming errors
Russell C.
perl oop perl-module submodule
I’m having trouble figuring out how to structure Perl modules in an object oriented way so I can have one parent module with a number of submodules and only the specific submodules that are needed would be loaded by a calling script. For example I want to be able to make method calls like so:use Example::API; my $api = Example::API->new();my $user = {}; $user->{‘id’} = ‘12345’;$api->Authenticate(); $user->{‘info’} = $api->Users->Get($user->{‘id’}); $user->{‘friends’}
Web site is in building