in reply to Re^4: Require or Do vs. more maintenance
in thread Require or Do vs. more maintenance
Also, module-names map to file-names in the following manner: two colons ("::") are used to separate files from directories or directories from sub-directories (regardless of what is actually used for this purpose on your operating system: backslash for windows, slash for *nix, colon for mac classic, etc). So, require My::New::Library; is equivalent to require "$lib_path/My/New/Library.pm"; on *nix, or to require "$lib_path\\My\\New\\Library.pm"; on dos/windows, etc.
Again, though, I'm just parroting back documentation to you (not that I mind). You can see this stuff for yourself in perldoc perlmod. (I think before I mentioned perlmodlib, but I should have checked that first... I actually had it mixed up with perlmod, which is more useful info for what you're trying to get a handle on... sorry).
------------ :Wq Not an editor command: Wq
|
|---|