Grokbase Groups Perl xs November 2002
FAQ

Search Discussions

13 discussions - 46 posts

  • Hi. I am new to writing perl extensions and need lots of help. I have tried for the last 2 weeks reading the docs and archives and have learned much but must be still missing some key point. I get ...
    Belinda M. GiardineBelinda M. Giardine
    Nov 27, 2002 at 4:11 pm
    Nov 27, 2002 at 6:27 pm
  • I'm getting segfaults in perl_construct and perl_parse. It seems to be "random" which one it crashes in. (Note: when I went back and tried to get a core dump for perl_parse, I couldn't get it to get ...
    Zac HansenZac Hansen
    Nov 13, 2002 at 7:36 am
    Nov 13, 2002 at 5:55 pm
  • Hello, I'd like to be able to see the perl stack from a C routine, which is in turn called from an XSUB. I'm obviously going about this the wrong way, but I'd appreciate it if someone could point out ...
    Jonathan ChinJonathan Chin
    Nov 19, 2002 at 2:38 pm
    Dec 6, 2002 at 9:33 am
  • I have an xsub that doesn't work under 5.00503 because is uses call_pv instead of perl_call_pv. I must of missed something somewhere -- what's the method to make the code work in different versions ...
    Bill MoseleyBill Moseley
    Nov 15, 2002 at 9:30 pm
    Nov 17, 2002 at 10:14 pm
  • I'm trying to reproduce the behaviour of foo ( @array ); with C. I want the behaviour of it flattening down the array and pushing each element on to the stack. It doesn't look like I can just cast it ...
    Zac HansenZac Hansen
    Nov 4, 2002 at 4:53 pm
    Nov 5, 2002 at 9:22 am
  • Thanks for all your help earlier. I am doing much better now. 1/3 of my script actually passes the tests now! But I seem to be stuck again. This sub is supposed to take a string and parse it into ...
    Belinda M. GiardineBelinda M. Giardine
    Nov 29, 2002 at 5:39 pm
    Nov 29, 2002 at 6:19 pm
  • Hi! I am trying to re-implement readdir but returning a hashref instead of simply the filename (my dirent struct implements a "type" entry which tells me what the file is without a stat). I'm calling ...
    Scott WiersdorfScott Wiersdorf
    Nov 14, 2002 at 6:33 pm
    Nov 20, 2002 at 11:38 pm
  • I'm running 5.8 with thread support and debugging. I'm calling perl_alloc() in one thread, then another thread is taking that interpreter calling PERL_SET_CONTEXT(), then perl_construct(). I use it ...
    Zac HansenZac Hansen
    Nov 14, 2002 at 7:04 pm
    Nov 20, 2002 at 4:24 pm
  • I have a program that uses PERL_NO_GET_CONTEXT and calls printf() before it creates any perl interpreters or anything.. first thing it does is check command line args and if they are wrong, prints ...
    Zac HansenZac Hansen
    Nov 11, 2002 at 9:42 am
    Nov 11, 2002 at 10:29 am
  • Hello, Are there any special steps that have to be taken in order to get a perl module (using XS) to work under linux (red hat 6.7-8ish)? I've been working with one that compiles and tests fine under ...
    Geoffrey_schaefferGeoffrey_schaeffer
    Nov 4, 2002 at 10:54 pm
    Nov 5, 2002 at 1:05 pm
  • Hi there, In resolving some memory leaks I had produced I found out that I needed to free() a char* value in each of my XSUBS. There is one XSUB however, where this totally screws up the first ...
    Tassilo v. ParsevalTassilo v. Parseval
    Nov 3, 2002 at 8:10 am
    Nov 3, 2002 at 8:25 am
  • I'm attempting to embed some C++ code into perl, and found a reference to a tutorial at http://www.johnkeiser.com/perl-xs-c++.html. Unfortunately, this link is now dead; does anyone have a copy of ...
    Macke, EdwardMacke, Edward
    Nov 22, 2002 at 3:03 pm
    Nov 23, 2002 at 8:22 pm
  • Hello to all, I nedd to access some proprietary libraries from Perl but i'm getting some problems following the Perl XS tutorial (perlXStut, perlguts, perlxs). [josevnz@linux0037 NBIntexWrapper]$ ...
    Jose Vicente Nunez ZJose Vicente Nunez Z
    Nov 6, 2002 at 11:10 pm
    Nov 8, 2002 at 12:21 pm
Group Navigation
period‹ prev | Nov 2002 | next ›
Group Overview
groupxs @
categoriesperl
discussions13
posts46
users22
websiteperl.org
Archives