Question from the perlmod man pages.
- From: "grocery_stocker" <cdalten@xxxxxxxxx>
- Date: 28 Oct 2006 09:15:51 -0700
I'm sort of drawing a stump on the following:
"Perl packages may be nested inside other package names, so we can have
package names containing ::. But if we used that package name directly
as a filename it would make for unwieldy or impossible filenames on
some systems. Therefore, if a module's name is, say, Text::Soundex,
then its definition is actually found in the library file
Text/Soundex.pm."
Say I have a module name Text::Soundex. I use this in my Perl script
as:
use Text::Soundex;
I know there is a module called Soundex.pm. I also know there is a
directory
name with the name Text. However, would there also be a module named
Text.pm?
Chad
.
- Follow-Ups:
- Re: Question from the perlmod man pages.
- From: Jim Gibson
- Re: Question from the perlmod man pages.
- Prev by Date: FAQ 4.43 How do I compute the difference of two arrays? How do I compute the intersection of two arrays?
- Next by Date: Re: Question from the perlmod man pages.
- Previous by thread: FAQ 4.43 How do I compute the difference of two arrays? How do I compute the intersection of two arrays?
- Next by thread: Re: Question from the perlmod man pages.
- Index(es):
Relevant Pages
|
|