mmk has asked for the wisdom of the Perl Monks concerning the following question:
According to the Book, "Packages are independent of files. You can have ... a single package that spans several files" (Chapter 10: Packages).
How can we split the default (main) package into multiple files and link them in the correct order when we compile and run?
Thanks!
Edit:
PS. I know how to organize codes using Perl modules. This question is not about how to write Perl modules or even how to split Perl modules into multiple files with .al extensions.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to split main package over multiple files
by GrandFather (Saint) on Jun 23, 2016 at 03:40 UTC | |
by mmk (Initiate) on Jun 23, 2016 at 20:58 UTC | |
|
Re: How to split main package over multiple files (main is for programs)
by Anonymous Monk on Jun 23, 2016 at 00:30 UTC | |
by stevieb (Canon) on Jun 23, 2016 at 01:05 UTC | |
|
Re: How to split main package over multiple files
by Kordaff (Scribe) on Jun 22, 2016 at 23:38 UTC | |
by mmk (Initiate) on Jun 23, 2016 at 20:35 UTC |