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
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
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
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
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
# 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
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.