Re: diff between packages and modules

2003-12-21 Thread Randal L. Schwartz
> "R" == R Joseph Newton <[EMAIL PROTECTED]> writes: R> Message-ID: <[EMAIL PROTECTED]> R> [Randal] R> ... R> The point is that R> $instance->new R> could mean either "clone", or "make one of the same class as". You R> don't need it for "make one of the same class as", because yo

Re: diff between packages and modules

2003-12-20 Thread drieux
On Dec 20, 2003, at 12:31 PM, R. Joseph Newton wrote: [..] It might be worth a trip to the archives to review this thread. Joseph for those following along at home: being the thread I think Joseph is referring to... whi

Re: diff between packages and modules

2003-12-20 Thread R. Joseph Newton
drieux wrote: > On Dec 19, 2003, at 1:16 PM, christopher j bottaro wrote: > > > i'm reading "Programming Perl" and i'm on the chapter about packages. it > says > > that packages and modules are very similar and that novices can think of > > packages, modules, and classes as the same thing, but i

Re: diff between packages and modules

2003-12-20 Thread R. Joseph Newton
christopher j bottaro wrote: > ahh thank you. > > so saying > > package CJB; > > is like saying > > namespace CJB { I was afraid of this when you said that you knew C++, therefore you know what classes are. It is good to see the parallels between languages, but it can also cause problems. Per

Re: diff between packages and modules

2003-12-20 Thread drieux
On Dec 19, 2003, at 8:30 PM, christopher j bottaro wrote: thanks for the reply. i think i'm understanding it a little better now. but i haven't really got a firm grasp on OO perl, so that example is a bit over my head still. Not a problem - save it for some time later. As I said, pick up

Re: diff between packages and modules

2003-12-19 Thread christopher j bottaro
thanks for the reply. i think i'm understanding it a little better now. but i haven't really got a firm grasp on OO perl, so that example is a bit over my head still. On Friday 19 December 2003 05:40 pm, drieux wrote: > ok, I bite, what is a vbulletin, I'm an OldGuy > and use to do this with u

Re: diff between packages and modules

2003-12-19 Thread christopher j bottaro
ahh thank you. so saying package CJB; is like saying namespace CJB { and saying use BinaryTree; is like saying #include "BinaryTree.h" ? so a package exports certain vars/functions and those var/functions make up a module? thanks again, -- christopher On Friday 19 December 2003 03:51

Re: diff between packages and modules

2003-12-19 Thread drieux
On Dec 19, 2003, at 1:16 PM, christopher j bottaro wrote: i'm reading "Programming Perl" and i'm on the chapter about packages. it says that packages and modules are very similar and that novices can think of packages, modules, and classes as the same thing, but i wanna know exactly what the d

RE: diff between packages and modules

2003-12-19 Thread Bob Showalter
christopher j bottaro wrote: > i'm reading "Programming Perl" and i'm on the chapter about packages. > it says that packages and modules are very similar and that novices > can think of packages, modules, and classes as the same thing, but i > wanna know exactly what the differences between package

diff between packages and modules

2003-12-19 Thread christopher j bottaro
i'm reading "Programming Perl" and i'm on the chapter about packages. it says that packages and modules are very similar and that novices can think of packages, modules, and classes as the same thing, but i wanna know exactly what the differences between packages and modules are (i'm a c++ prog