Re: 'USE'ing an Inline module from within an Inline module

2005-04-06 Thread Sisyphus
- Original Message - From: "Patrick LeBoutillier" <[EMAIL PROTECTED]> To: "Nicholas Wehr" <[EMAIL PROTECTED]> Cc: Sent: Thursday, April 07, 2005 12:04 PM Subject: Re: 'USE'ing an Inline module from within an Inline module > I've done a bit of investigating and here's what I make of th

Re: 'USE'ing an Inline module from within an Inline module

2005-04-06 Thread Patrick LeBoutillier
I've done a bit of investigating and here's what I make of this problem: In your generated Makefile, there is a line like this: $(PERL) -Mblib -MInline=NOISY,_INSTALL_ -MRabbit -e1 0.14 $(INST_ARCHLIB) The way I figured Inline works is as such: each time it is 'use'd with the DATA keyword, i

Re: 'USE'ing an Inline module from within an Inline module

2005-04-06 Thread Sisyphus
- Original Message - From: "Sisyphus" <[EMAIL PROTECTED]> > > Seems that specifying 'VERSION' is mandatory - and if that number doesn't > match both $Rabbit::VERSION and $Turtle::VERSION, then you'll get a fatal > version mismatch error. This would imply that you (or someone else) will

Re: 'USE'ing an Inline module from within an Inline module

2005-04-06 Thread Nicholas Wehr
Actually, this code is just an example of my code... Turtle is just a Inline::C module that I wrote months ago, and would like to use some of it's functions in Rabbit. The header part is virtually the same. So, Turtle could be... #!/usr/bin/perl package Turtle; my $VERSION = '1.17'; use Inlin

Re: 'USE'ing an Inline module from within an Inline module

2005-04-06 Thread Patrick LeBoutillier
Nicholas, Can you send the code for Turtle.pm (or at least the "use Inline" part)? Patrick On Apr 5, 2005 2:15 PM, Nicholas Wehr <[EMAIL PROTECTED]> wrote: > Sorry I wan't clearer. Here's an example of what I'm doing. Rabbit is > > the new module version 0.14. It is trying to 'use' an installe