[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: want to write a perl module for Statistics of pspp

From: 老邪
Subject: Re: want to write a perl module for Statistics of pspp
Date: Wed, 13 Oct 2010 23:11:01 +0800

HI, Duane
     Thanks for replying.
     and, i think i also need some documents of API of pspp C library? (if it exists).
     i just read source of PSPP::Wrapper, the way of it implement pspp function is
1) make a tmp file by given data, and a block of pspp syntax
2) call pspp to handle that tmp file
3) save the result
     it's a way to call statistical procedures of pspp too. i was thinking that way before.
but i think if can call the C library of pspp directly in Perl, that will be better. so i
came here and asked for help :)

On Wed, Oct 13, 2010 at 10:45 PM, Duane Currie <address@hidden> wrote:
Hi LaoXie,

You'd probably want to try using Perl XS.  See 'man perlxs'
and 'man perlxstut' for information and examples of how to
call C routines from Perl.


On Wed, Oct 13, 2010 at 10:12 AM, 老邪 <address@hidden> wrote:
> Hi, all
>      i'm not sure this email is suitable or not. i'm a perl coder, and for
> some reasons, i'm learning to use PSPP under linux.
>  i notice that there is a CPAN module for pspp (PSPP-Perl), but it's just
> for "read and write the system file", it can't
> be used to do any statistical procedures of pspp.
>      i think most ppl who use pspp, are mainly using the statistical
> procedures of pspp, so, i'm thinking if someone can
> write a CPAN module for statistics usage of pspp (name it PSPP::Statistics
> ?), that will be great. for now, i want to give a try.
>     but i don't have much experience to write perl code with C library, so i
> need help from here. can anyone give out
> some instructions/guide tour/document(URL) of API ? . so that i can start
> learning..
>     thanks.
> best regards,
> laoxie
> _______________________________________________
> pspp-dev mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]