in reply to Methods supporting both package and OOP style calls
That said, if you want to use procedural calls, invest in looking at Exporter. Learn that magic, then assume that if it's a procedural call, there is no $self. If it's an OO call, there is a bless'ed $self. There is no package-call.
(Package calls are bad, anyways, due to the fact that you're hard-coding stuff. Very NOT-scalable.)
------
We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Methods supporting both package and OOP style calls
by jk2addict (Chaplain) on Aug 06, 2002 at 03:45 UTC |