Okay, to question (a):
- module: A file (*.pm) that contains one or more packages
- package: The Perl equivalent of a C namespace; encapsulates subroutines or objects
- script: A program, so to speak. Just that it is not executed, but interpreted by the Perl interpreter
- subroutine: You could call it a procedure or a function. It is declared with sub blabla { ... and does the stuff you tell it to do
- function: Does not really exist in Perl, but would be (if you think Pascal), a sub that returns a value. Just understand it as sub
To (b): I think there is a way, but I could not get it working :/. Hope the others have ideas...
Hope this helped anyways.
CombatSquirrel.
Entropy is the tendency of everything going to hell.