Re: Proposed kwalitee metric: consistent_newlines

2006-05-03 Thread Adam Kennedy
It does work very well though and I prefer it to fighting with the MakeMaker docs to figure out how to get it to install a data file in the right place :-) Perl has language-level support for uuencoding/-decoding data (check `perldoc -f pack`). You can take advantage of that to keep your binary

Re: Proposed kwalitee metric: consistent_newlines

2006-05-03 Thread Adam Kennedy
Paul Johnson wrote: On Wed, May 03, 2006 at 11:36:53AM +0200, A. Pagaltzis wrote: Am I missing something, or won’t all of these will cause problems with Module::Signature? The thing is that it doesn’t matter how perl sees the file; what matters is how Module::Signature sees the file, and to my

Re: Binary distributions

2006-05-03 Thread Smylers
On January 29th Tyler MacDonald wrote: > Sébastien Aperghis-Tramoni <[EMAIL PROTECTED]> wrote: > > > Did anybody here have played with CPANPLUS::Dist::Deb? > > http://search.cpan.org/dist/CPANPLUS-Dist-Deb/ > > > > Believing its documentation, it should build a valid Debian package > > and tak

Re: Proposed kwalitee metric: consistent_newlines

2006-05-03 Thread David Cantrell
A. Pagaltzis wrote: * David Cantrell <[EMAIL PROTECTED]> [2006-05-03 11:00]: It does work very well though and I prefer it to fighting with the MakeMaker docs to figure out how to get it to install a data file in the right place :-) Perl has language-level support for uuencoding/-decoding data

Re: Proposed kwalitee metric: consistent_newlines

2006-05-03 Thread Paul Johnson
On Wed, May 03, 2006 at 11:36:53AM +0200, A. Pagaltzis wrote: > Am I missing something, or won’t all of these will cause problems > with Module::Signature? The thing is that it doesn’t matter how > perl sees the file; what matters is how Module::Signature sees > the file, and to my knowledge, the

Re: Proposed kwalitee metric: consistent_newlines

2006-05-03 Thread A. Pagaltzis
* David Cantrell <[EMAIL PROTECTED]> [2006-05-03 11:00]: > A. Pagaltzis wrote: > >Why would this have to rely on PPI at all? To check whether > >newlines in the file are consistent, you can just scan the > >source as an opaque of text, no? > > A perl source file might have an embedded heredoc, or

Re: Proposed kwalitee metric: consistent_newlines

2006-05-03 Thread David Cantrell
A. Pagaltzis wrote: * Adam Kennedy <[EMAIL PROTECTED]> [2006-04-30 07:00]: The Perl::Critic thing could be tricky though. One of the very few things PPI does that isn't round-trip safe (actually, the ONLY thing) is localise the newlines for the files it opens. Why would this have to rely on PPI