> > Any ideas what I'm missing ??
>
> Hi Dan,
Howdy
>
> It sounds like you have a concept of the purpose of
> inheritance, but some of it backward, and some of that magic
A lto of it backwards! ;p
> is irrelevant to Perl, since Perl lacks types. The ISA
> relationship means that you can s
Rob Dixon wrote:
> R. Joseph Newton wrote:
> >
> > Dan Muey wrote:
> >
> > >
> > >
> > > Basically I use the ParentName's $obj inside my functions
> > > and they are expecting it as the first arg.
> > >
> > > $obj->MyModule::function($arg); would be the coolest way
> > > (leaving my functions as s
R. Joseph Newton wrote:
>
> Dan Muey wrote:
>
> >
> >
> > Basically I use the ParentName's $obj inside my functions
> > and they are expecting it as the first arg.
> >
> > $obj->MyModule::function($arg); would be the coolest way
> > (leaving my functions as sub function instead of sub
> > NameSpace
"Gupta, Sharad" wrote:
> Maybe OT. But just curious. What do the experts say about exporting function from OO
> modules??.
> Everytime i need something like this, i end up making those functions as Class
> methods.
>
> -Sharad
In most cases, you should. Access through an object provides contex
Dan Muey wrote:
>
>
> Basically I use the ParentName's $obj inside my functions
> and they are expecting it as the first arg.
>
> $obj->MyModule::function($arg); would be the coolest way
> (leaving my functions as sub function instead of sub
> NameSpace::Evil::function)
>
> Is this possible or am
Dan Muey wrote:
> Howdy folks,
>
> Yet another module question.
>
> I'm so close and I've done this but I can't get it to work.
>
> I am writing a module that is an extension/sub module of an existing module.
>
> use ... MyNewSexxySubModule qw(function);
>
> $obj = new->Original::Package();
> for(
Dan Muey wrote:
>
> Sorry for the confusion, I was switching example names on everyone.
>
> I think I've got it.
>
> I've made it object oriented and functional based. (Gulp, kinda scary :-))
>
> I have
This is in your Mymodule.pm presumably?
> package Parent::Module::MyModule;
My only proviso i
Hi Dan,
In article
<[EMAIL PROTECTED]>,
Dan Muey wrote:
> Sorry for the confusion, I was switching example names on everyone.
>
> I think I've got it.
>
> I've made it object oriented and functional based. (Gulp, kinda scary :-))
>
> I have
>
> package Parent::Module::MyModule;
You may not n
ctober 29, 2003 3:34 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Module Object and sub module function
>
>
> Sorry for the confusion, I was switching example names on everyone.
>
> I think I've got it.
>
> I've made it object oriented and functional based. (Gulp,
Sorry for the confusion, I was switching example names on everyone.
I think I've got it.
I've made it object oriented and functional based. (Gulp, kinda scary :-))
I have
package Parent::Module::MyModule;
With simply bare function names like so:
(IE not Parent::Module::functionname {} so as n
> > > Any ideas what I'm missing ??
> >
> > You've missed showing us where you've screwed up!
> >
> > Cheers,
> >
>
> Thank god Rob wrote this, I thought I had been asleep for
> about 6 months and there was a whole new way to access into a
> symbol table looking for a class constructor!! Jus
> Hi Dan.
>
> There's a few things wrong here, and I'm struggling to work out what
you're
> trying to do.
>
> Dan Muey wrote:
> >
> > Yet another module question.
> >
> > I'm so close and I've done this but I can't get it to work.
> >
> > I am writing a module that is an extension/sub module of
Hi Dan.
There's a few things wrong here, and I'm struggling to work out what you're
trying to do.
Dan Muey wrote:
>
> Yet another module question.
>
> I'm so close and I've done this but I can't get it to work.
>
> I am writing a module that is an extension/sub module of an existing module.
>
> u
f sub
NameSpace::Evil::function)
Is this possible or am I just batty!?
TIA
Dan
>
> -Sharad
>
> > -Original Message-
> > From: Dan Muey [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, October 29, 2003 9:56 AM
> > To: [EMAIL PROTECTED]
> > Subject:
subclass.
-Sharad
> -Original Message-
> From: Dan Muey [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 29, 2003 9:56 AM
> To: [EMAIL PROTECTED]
> Subject: Module Object and sub module function
>
>
> Howdy folks,
>
> Yet another module question.
>
>
Howdy folks,
Yet another module question.
I'm so close and I've done this but I can't get it to work.
I am writing a module that is an extension/sub module of an existing module.
use ... MyNewSexxySubModule qw(function);
$obj = new->Original::Package();
for(Original::Package::MyNewSexxySubMo
16 matches
Mail list logo