Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
"...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? In reply to Re^2: difference between packages and module
by Clovis_Sangrail
|
|