Home > Archive > PERL Modules > April 2007 > perl OOP
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| Hi
I dont understand when we declare a new in a package. It is always use
new($class, %args).
For method, ususally method($self, %args) to pass input parameter. So, we
dont use the $class and $self anyway, what is the purpose putting there?
I have read the tutorials already but still not understand.
Thanks
| |
| Sherm Pendley 2007-04-03, 7:02 pm |
| "a" <a@mail.com> writes:
> Hi
Hi. Something wrong with the answers you got in c.l.p.misc?
Please don't multi-post. If your question is relevant to multiple groups -
this one isn't - you should cross-post a single message with multiple groups
listed in the Newsgroups: header, not post multiple messages to a single
group each.
The advantage of cross- over multi-posting is that replies will by default
appear in all groups, and also that once read by someone the message will
not show up again as unread in another group.
sherm--
--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
|
|
|
|
|