|Pathologically Eclectic Rubbish Lister|
Re: Perl Modulesby stevieb (Canon)
|on Jun 20, 2017 at 16:05 UTC||Need Help??|
It is terribly difficult to read your post as is, so I didn't. However, I've put together an example of what I think you're after. The first file is the script itself, which uses the A module (A.pm in the local directory). The A module exports a single function, and this module includes the B module which also exports a single function. It in turn uses the C module, which exports a single function, which prints an incoming string.
a_func() takes a single parameter, a string. It passes it to b_func(), which then passes it to c_func() which then prints it to the screen.
The flow is like this:
The A module:
The B module:
The C module: