Modules - behind the scene
- The functionality of Cwd is implemented in a file called Cwd.pm
- @INC the list of libraries
- perl -V
- perldoc Cwd documentation
- perldoc -l Cwd location /usr/lib/perl5/5.8.6/i386-linux-thread-multi/Cwd.pm
- perldoc -m Cwd module content
Examples of modules that export functions. Look at their source code
- Cwd
- File::Basename
- File::Spec
- File::Spec::Functions