Perl Module and Calling Functions of Another Perl Source File
When do we name a Perl source/code file .pm and .pl?
And also how do we include a Perl source/code file into another one?
first.pl calls the functions written in second.pl
Note: I just found we can use the use directive, and that .pm is for using functionality of a Perl Module within in a Perl source/code file.
I am leaving this threas as open just for the gurus out here to throw more light upon the subject; or whatever they would like to add to it from their experience.
Last edited by devUnix; 01-26-2011 at 02:46 PM.
Reason: Got it!