apprentice has asked for the wisdom of the Perl Monks concerning the following question:
The 'Private.pm' module looks something like this:#!/usr/bin/perl use strict; use Private; #call a bunch of things to make a page
A few other modules 'use' various packages, but mostly do not.# This is a private namespace where all modules get loaded. # Warning: Don't put any 'use' statements that depend on Exporting int +o a namespace you will actually use in the programs. use strict; use base_class1; use base_class2; use CGI; use DBI; # etc., loads lots of modules
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Private namespace package question
by count0 (Friar) on Dec 28, 2001 at 20:08 UTC | |
by apprentice (Scribe) on Dec 28, 2001 at 22:00 UTC | |
by Ovid (Cardinal) on Dec 28, 2001 at 22:12 UTC | |
by tilly (Archbishop) on Jan 05, 2002 at 19:47 UTC | |
|
(Ovid) Re: Private namespace package question
by Ovid (Cardinal) on Dec 28, 2001 at 22:01 UTC |