in reply to Re: difference between packages and module
in thread difference between packages and module
"...so module Foo::Bar would be in a file named Foo/Bar.pm."
As best as I can tell this is actually a file named "Bar.pm" in a subdirectory named "Foo". Can this sort of thing go on to multiple levels? Like, could we have a module named "Utterly::Completely::Foo::Barred::Up" that would be defined in the "Up.pm" file located in the "Utterly/Completely/Foo/Barred" subdirectory (of a member of @INC, I guess)?
And, is that the only place where such a module could be found, or could it also be in a file of a different name and/or in a different subdirectory?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: difference between packages and module
by AppleFritter (Vicar) on Jun 27, 2014 at 21:03 UTC | |
by Clovis_Sangrail (Beadle) on Jun 30, 2014 at 18:12 UTC | |
|
Re^3: difference between packages and module
by Anonymous Monk on Jun 28, 2014 at 08:28 UTC |