Where to put xs files?

2016-06-08 Thread Alex Becker
Hi! Where do I put xs files in a module distribution? For example, the module Tk::IDElayout contains the following files: * CaptureRelease.pm * CaptureRelease.xs * WmCaptureRelease.c * WmCaptureRelease.h They are currently all located in the root folder of the module dist. If I would move the f

Best way to indicate module author tests?

2015-08-05 Thread Alex Becker
Hi! I started to use Test::POD and Test__POD::Coverage in my modules. However, I got the feedback that these tests should not be done when someone installs the module from CPAN. The logic is quite clear: POD issues are not critical. So, there will be author tests. I saw a few other modules that i

Re: To use signatures or not to use?

2015-07-23 Thread Alex Becker
determined by the > how rigorous your release testing is, and how critical the dependencies > are. > > Andrew > > > On Thu, Jul 23, 2015 at 2:11 AM, Brandon McCaig > wrote: > >> On Wed, Jul 22, 2015 at 3:11 PM, Alex Becker wrote: >> > Dear all, &g

To use signatures or not to use?

2015-07-22 Thread Alex Becker
Dear all, Perl now has subroutine signatures. However, they are marked as experimental feature. As I really like it, I'm always tempted to use it. On the other hand, I don't want to wast efforts to something I have to roll back. So, does anyone know the tendency if signatures are going to stay?

Re: Can u suggest me the best ide for perl

2015-05-21 Thread Alex Becker
The initial question was "Other than padre..". I never got Padre to work. My favorite is Komodo IDE. NB: Komodo Edit (the free edition with less features) is open source now, it' on Github: https://github.com/Komodo/KomodoEdit 2015-05-21 13:24 GMT+02:00 Shawn H Corey : > On Thu, 21 May 2015 10:

Re: Inhomogeneous data in a database

2015-04-15 Thread Alex Becker
, > this what I consider good practice. Others may have different opinions. > > Hope this helps! > > Best regards, > Tommi > -- > Från: Alex Becker > Skickat: ‎10.‎4.‎2015 23:56 > Till: Andrew Solomon > Kopia: beginners@perl.org > Äm

Re: Inhomogeneous data in a database

2015-04-10 Thread Alex Becker
re: > * `content_type` is "HTML", "CGI" or "Module" (or rather, ids pointing to > the `target_type` table); > * `blob` is a base64 encoding of a structure containing both the data > (HTML, CGI or module) and any metadata such as URL parameters, class > attribut

Should I add ExtUtils::MakeMaker as prerequisite to Makefile?

2015-02-27 Thread Alex Becker
Hi! When writing a Makefile.PL for a module (no, I don't want to read about other ways to do it now), does it make sense to add ExtUtils::MakeMaker (EUMM) to the PREREQ_PM module prerequisites list? I'm asking because I saw some Makefile.PL where the installed version of EUMM was checked and depe

Where to put example script of my CPAN distribution

2014-10-09 Thread Alex Becker
Hi all! Similar to my question about the lib folder of a Perl module, I would like to knoe where one should put example scripts in a CPAN distribution. I've seen modules using an eg folder and I'm always tempted to use a more mnemonic version: examples. Is there a best practice? I know of TIMTOW

Why to use a lib folder for a CPAN module

2014-10-08 Thread Alex Becker
Hi! When creating the base for a new CPAN module using h2xs (e.g. with the command h2xs -b 5.10 -XA -n Super::Duper::Module), there is a lib folder created. In this lib folder, the name space is mirrored by a directory tree (e.g. lib/Super/Duper/Module.ppm). Now, while browsing CPAN, I noticed s