CSE 341 -- S. Tanimoto                                                    Perl Arrays, Functions, Lists, Refs, Etc
17
Modules
#!/usr/bin/perl -w
use MapleTreesModule;
# The compiler searches for MapleTreesModule.pm
# following all the paths in an array called @INC.
# The module is a precompiled package of the same name.
# When the “use” is executed, all the definitions in the
# package become available, and any other code in
# the package gets executed.
# Packages can be in subdirectories of searched paths:
use Net::Mail; # Mail.pm must be in Net.