perl.makemaker...Re: Requiring a Perl version by Michael G Schwern- March 29, 2008 Alberto Simões wrote:> I would like to ask for some advice: in a module, to require some Perl > version, should I do that on the Makefile.PLBuild.PL or just add the > use keyword with the Perl version on the .pm file Or both> > In case I should do that on Makefile.PL, what is the correct way Again > a &39;use&39; keyword in the Makefile.PL, or is there any other keyword to use > withing MakeMaker configuration hashJust "use 5.008" or whatever in a...http://www.nntp.perl.org/group/perl.makemaker/2008/03/msg2948.html Re: Requiring a Perl version by Alberto Simes- March 29, 2008 Andy Armstrong wrote:> On 29 Mar 2008, at 21:53, Alberto Simões wrote:>> Hi, Folks>>>> I would like to ask for some advice: in a module, to require some Perl >> version, should I do that on the Makefile.PLBuild.PL or just add the >> use keyword with the Perl version on the .pm file Or both>>>> In case I should do that on Makefile.PL, what is the correct way >> Again a &39;use&39; keyword in the Makefile.PL, or is there any other >>.http://www.nntp.perl.org/group/perl.makemaker/2008/03/msg2947.html Re: Requiring a Perl version by Andy Armstrong- March 29, 2008 On 29 Mar 2008, at 21:53, Alberto Simões wrote:> Hi, Folks>> I would like to ask for some advice: in a module, to require some > Perl version, should I do that on the Makefile.PLBuild.PL or just > add the use keyword with the Perl version on the .pm file Or both>> In case I should do that on Makefile.PL, what is the correct way > Again a &39;use&39; keyword in the Makefile.PL, or is there any other > keyword to use withing MakeMaker configuration hashDoes...http://www.nntp.perl.org/group/perl.makemaker/2008/03/msg2946.html Requiring a Perl version by Alberto Simes- March 29, 2008 Hi, FolksI would like to ask for some advice: in a module, to require some Perl version, should I do that on the Makefile.PLBuild.PL or just add the use keyword with the Perl version on the .pm file Or bothIn case I should do that on Makefile.PL, what is the correct way Again a &39;use&39; keyword in the Makefile.PL, or is there any other keyword to use withing MakeMaker configuration hashThank you, folks :)Alberto-- Alberto Simões - Departamento de Informática - Universidade do...http://www.nntp.perl.org/group/perl.makemaker/2008/03/msg2945.html Re: Using MAN1PODS by Michael G Schwern- March 20, 2008 Alberto Simões wrote:> My English is not brilliant. But it might help future head-bangs.Don&39;t worry, I can make the English speak gooder.-- 100. Claymore mines are not filled with yummy candy, and it is wrong to tell new soldiers that they are. -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army http:skippyslist.comlisthttp://www.nntp.perl.org/group/perl.makemaker/2008/03/msg2944.html Re: XS help by Andy Armstrong- March 20, 2008 On 20 Mar 2008, at 01:23, Michael G Schwern wrote:> I have a project to make the functions of a C program available to > Perl for unit testing purposes. A lot of them use structs like so...snipI saw Tim&39;s response. SWIG may well be the sensible route.However, two more data points: I once wrote code which (from memory) parsed embedded debug information out of object files built with -g that turned C structure offsets into a packunpack spec. Unfortunately, having searched for the...http://www.nntp.perl.org/group/perl.makemaker/2008/03/msg2943.html Re: XS help by Tim Bunce- March 20, 2008 For this kind of work you might find SWIG easier to use: http:www.swig.org http:www.swig.orgDoc1.1HTMLPerl5.htmlI haven&39;t used it myself for years, but I&39;d certainly consider itcarefully for any project where I needed access to structure members.Tim.On Wed, Mar 19, 2008 at 06:23:34PM -0700, Michael G Schwern wrote:> I have a project to make the functions of a C program available to Perl for > unit testing purposes. A lot of them use structs like so...>> typedef...http://www.nntp.perl.org/group/perl.makemaker/2008/03/msg2942.html Re: Using MAN1PODS by Alberto Simes- March 20, 2008 Michael G Schwern wrote:> Patches welcome.My English is not brilliant. But it might help future head-bangs.Cheersambs-- Alberto Simões - Departamento de Informática - Universidade do Minho Campus de Gualtar - 4710-057 Braga - Portugalhttp://www.nntp.perl.org/group/perl.makemaker/2008/03/msg2941.html Re: Knowing INSTALL_BASE value by brian d foy- March 20, 2008 In article <47E084B9.8090407pobox.com>, Michael G Schwern<schwernpobox.com> wrote:> brian d foy wrote:> > If you are just processing dist to discover information, you can write> > your own WriteMakefile routine and grab the answers that way. Look> > inside Test::Prereq, for instance. I don&39;t like having to do it that> > way, but I haven&39;t come up with something better.> > It is not documented, but WriteMakefile() returns the MM object. It&39;s.http://www.nntp.perl.org/group/perl.makemaker/2008/03/msg2940.html XS help by Michael G Schwern- March 19, 2008 I have a project to make the functions of a C program available to Perl for unit testing purposes. A lot of them use structs like so...typedef struct char config_file_name; char input_file_name; char time_str; int test_mode; flag set from command line or config value int mail_input; flag set from command line int debug; flag set from command line int save; flag set from command line GHashTable forw_hash; .http://www.nntp.perl.org/group/perl.makemaker/2008/03/msg2939.html |