On Wed, Nov 26, 2003 at 03:31:21PM +0100, Christophe MERTZ wrote:
[Changing Ivy to Net::Ivy]
BTW:
I do not know if this discussion is still appropriate in the mailing
list, as I am new on it. Let me know...
I don't have an answer to your question about how to do it, but I do think
that the
On Tue, 2003-11-25 at 23:00, Tim Bunce wrote:
Sadly it turns out to be not quite that trivial because the interface
has this kind of style
$obj-foo($bar);
Ivy::foo($bar);
I prepared a mail yesterday, but did not send it, where I was asking
about this functiunal API. But you
All functions in the module can be used as method; the trick
used to do
it is to use the __PACKAGE__ variable the following way:
sub init {
my $class = shift if (@_ and $_[0] eq __PACKAGE__);
my (%options) = @_;
...
}
# or :
sub bindRegexp
{
my $self = ref($_[0]) eq
Sadly it turns out to be not quite that trivial because the interface
has this kind of style
$obj-foo($bar);
Ivy::foo($bar);
But even that's not a big deal. If the functions are exported then
do things like:
use base Exporter;
our @EXPORT = @Net::Ivy::EXPORT;
if