Re: Subscribing..

2006-07-19 Thread Peter Sinnott
On Wed, Jul 19, 2006 at 11:29:15AM -0400, Robert Hicks wrote: > I seem to be on the list twice...how do I change that? > > :Robert http://lists.cpan.org/showlist.cgi?name=inline Unsubscribe:Send an empty email to [EMAIL PROTECTED] -- We strive to quickly promote error-free solutions so th

Re: Get an array value

2006-02-15 Thread Peter Sinnott
On Tue, Feb 14, 2006 at 12:12:01PM -0500, Guohong Hu wrote: > MaizeHi I am a new user of Inline. So could somebody help me here? > > I am trying to write a C subroutine with Inline. I want to pass the reference > of an array to the subroutine for calculation, and work on the values in the > arra

Re: Perl6 and Inline::C

2005-10-20 Thread Peter Sinnott
On Thu, Oct 20, 2005 at 08:50:51PM +1000, Sisyphus wrote: > > I've been wondering much the same - and I look forward to seeing some > informed responses on the matter. > As I understand it, there is no XS with Perl6. Since Inline::C simply > auto-generates XS code (and then compiles and runs the c

Re: Mac OS X

2005-10-12 Thread Peter Sinnott
On Tue, Oct 11, 2005 at 01:44:28PM -0400, Brian Hammond wrote: > Anyone got a clue on this? > I tried building on linux at the time but couldn't quite get it to work. After another quick look today it seems your problem may be solved by adding --shared to LDDLFLAGS. For my install( and maybe your

Re: Inline-Java only when needed

2005-05-25 Thread Peter Sinnott
On Wed, May 25, 2005 at 10:33:58AM +0200, Wilhelm Pastoors/Denic wrote: > Hallo; > > the use of Inline-Java in our perl programs has a > bad impact on performance. > In about 1 percent of all cases the program needs the > java-functionality, mostly Java is not needed. > > I tried with "require In

Re: Error in Apache (mod_perl) error_log regarding Inline module

2005-02-23 Thread Peter Sinnott
On Wed, Feb 23, 2005 at 04:22:02PM +0800, Jun Ming wrote: > Hi all, > We are using Inline-0.44 as a perl module in Apache 2.0.52 with > mod_perl/1.999.20 in Solaris 2.8. There is some error in Apache's error_log, > please see the details as reference. > > If we use Inline as Example 1, even w

Re: arrays of references

2004-12-16 Thread Peter Sinnott
On Wed, Dec 15, 2004 at 04:50:03PM -0500, Nitin Madnani wrote: > Hi Guys > > I have perl code that looks like this: > > sub test_score { >$SCORE = @_; Is this directly from existing code? If so its probably not doing what its ment to do as SCORE now contains the number of arguments passed i

Re: Returning reference to C structures

2004-07-29 Thread Peter Sinnott
On Thu, Jul 29, 2004 at 09:59:57AM -0400, Mik Firestone wrote: > I am just looking for a URL or an example of how to return a reference to a C > structure to perl. I have read the Cookbook, and I can get my code to work if > I actually create a blessed reference. I would prefer to bless it - I ju

Re: relocation error

2003-09-26 Thread Peter Sinnott
On Fri, Sep 26, 2003 at 02:06:09AM -0500, Eric Wilhelm wrote: > It seems that I have found an answer, but it is not as automatic as it seems > it should be. > > If I use the NOCLEAN option and then go into the build directory and do: > ld -shared inlinedwg_pl_4215.o -o > ../../lib/auto/inlinedwg

Re: Segfault in Inline code

2003-09-24 Thread Peter Sinnott
On Tue, Sep 23, 2003 at 01:14:54PM -0700, Ovid wrote: > Hi all, > > For the life of me, I can't figure out how I am segfaulting. The following is a > minimal test > case. I think something's not getting initialized and thus causing some problem > with memory, but > I can't tell what it is. >

Re: Finished Build Compile Stage but can't use

2003-09-04 Thread Peter Sinnott
On Wed, Sep 03, 2003 at 10:21:52AM +0200, Patrik Jacoby wrote: > >It's just that the inline function can't be found for some reason - so > >perl assumes the function must be loadable from an .al file - but can't > >find that file because it doesn't (and shouldn't) exist. > > > > ok, I'm trying

Re: Finished Build Compile Stage but can't use

2003-09-03 Thread Peter Sinnott
On Wed, Sep 03, 2003 at 07:55:06PM +1000, Sisyphus wrote: > > - Original Message - > From: "Peter Sinnott" <[EMAIL PROTECTED]> > > For example Inline > > only likes void as a return value so if I had declared my function > > int cdbt_prices_in

Re: Finished Build Compile Stage but can't use

2003-09-03 Thread Peter Sinnott
On Tue, Sep 02, 2003 at 05:55:21PM +0200, Patrik Jacoby wrote: > hello, > i'm trying to use some c functions via perl using inline. It seems that > my script is well I get an > > Finished Build Compile Stage > > but after that perl is not able to locate my .al file for my function. > Until now