RE: Use of packages

2001-11-19 Thread Bob Showalter
> -Original Message- > From: Bruce Ferrell [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 19, 2001 11:41 AM > To: [EMAIL PROTECTED] > Subject: Use of packages > > > I came up with this question while I was reading Paul Dubois > book MySQL > and PERL

Re: Use of packages

2001-11-19 Thread Daniel Gardner
Monday, November 19, 2001, 4:41:21 PM, Bruce Ferrell wrote: BF> #begin example 2 BF> use packagename(); BF> sub1(); BF> sub2(); BF> #end example 2 BF> No can someone explain to me what, if anything is incorrect about the BF> second example? What I'm looking for is how sub-routines are used from

Use of packages

2001-11-19 Thread Bruce Ferrell
I came up with this question while I was reading Paul Dubois book MySQL and PERL for the Web. I'm not sure I'm clear on a concept, so I'm posting it here in pseudo perl hope of getting some clarity. A package (module?) is created thusly: #begin perl package package packagename; sub sub1 {