Inheritance and clone()

2003-03-10 Thread Tom Norwood
lone' keywords gave me nothing. Same on CPAN I only got a Clone module which does a similar job but is sparsely documented also. Both the Perl books I have (Nutshell and Black Book) don't even mention it in their index. Thanks in advance for any assistance offered, Tom Norwood. Th

RE: Inheritance and clone()

2003-03-11 Thread Tom Norwood
::UserAgent; use URI::URL; Is this right, and if so how do I find out how to use it myself. Tom Norwood. -Original Message- From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED] Sent: 11 March 2003 02:26 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Inheritance and clone()

RE: Inheritance and clone()

2003-03-11 Thread Tom Norwood
Thanks very much that's very helpful, straight to the point, the books I have beat around the bush a bit. Well that may be a bit harsh they do have a lot to cover. Anyway very much appreciated, gets me going again ;o) Tom Norwood. -Original Message- From: Rob Dixon [mailto:[

RE: Inheritance and clone()

2003-03-12 Thread Tom Norwood
s and cryptic at times it turns my brain inside out. How I understand bless is that it tells Perl to treat an item pointed to by a ref as an object. But what does that mean in actual terms, the access method for package variables doesn't change. Thanks again, Tom Norwood. -Original Message

RE: Inheritance and clone()

2003-03-13 Thread Tom Norwood
Which is where idea 2) above comes in, with a package variable, requiring a bit more coding in the class methods. This is what always used to catch me out with OO design, the decisions on where to keep certain data elements that don't fit clearly into a specific place. I think I need to l