Adding a directory with various files to a distribution

2009-09-23 Thread Petar Shangov
Hi, I am working on a content management system that I want to upload to CPAN. As part of the distribution, I want to add a sample website with some configuration files, some templates, some html files, and some gifs. What is the best way to add a whole directory with various files to a

Re: error creating 'BUILD' script

2009-09-23 Thread John Peacock
Andreas J. Koenig wrote: % perl -le 'print 100_200_300' 100200300 I'm sure we had this before but IMO a single underscore rule violates the principle of least surprise. But that's not what the module had: perl -le print '100_200_300' 100_200_300 Once I determined to use an underscore to

Re: error creating 'BUILD' script

2009-09-23 Thread demerphq
2009/9/23 John Peacock john.peac...@havurah-software.org: Andreas J. Koenig wrote: % perl -le 'print 100_200_300' 100200300 I'm sure we had this before but IMO a single underscore rule violates the principle of least surprise. But that's not what the module had: perl -le print

Re: error creating 'BUILD' script

2009-09-23 Thread John Peacock
demerphq wrote: Remember the old Perl maxim of be tolerant of what you expect and strict with what you emit. Are there technical reasons why this should be disallowed? Internally, version objects are stored as an array of integers for comparison purposes. Normally, that array is split on

Re: Adding a directory with various files to a distribution

2009-09-23 Thread Petar Shangov
Thanks, this is what I ended up doing. I was hoping there was some way to automate this since the files in the directory in question are likely to change in the future and I would rather not edit the MANIFEST manually every time. --Peter - Original Message From: Eric Wilhelm

Re: Adding a directory with various files to a distribution

2009-09-23 Thread Eric Wilhelm
# from Petar Shangov # on Wednesday 23 September 2009 09:30: I was hoping there was some way to automate this since the files in the directory in question are likely to change in the future and I would rather not edit the MANIFEST manually every time. If you run `./Build manifest`, it will

Re: version.pm and underscores

2009-09-23 Thread John Peacock
Eric Wilhelm wrote: Why is the underscore treated as a split character? This is actually counter to how v-strings work. $ perl -E 'say join(., map({ord($_)} split(//, v2.3.4_5)))' 2.3.45 That is a bare v-string, so the tokenizer eats the underscore, just like any bare number.