Tels,
Please forgive me for being blunt, but I think it's your fault for
writing fragile META.yml creation code. YAML.pm is not even at 1.00
yet, so an API change is allowed by convention, and lack of backward
compatibility is to be expected. If you were to have wrapped your
whole custom META.yml creation code in a big eval, there would not
have been a problem. Furthermore, it seems to me that you are
reinventing the wheel by adding custom META.yml code to the
Makefile.PL of every package you write instead of, say, using
Module::Build or just omitting the non-essential META.yml customization.
The ultimate solution, of course, is that there will be a standard
way to generate proper META.yml. In the meantime, however, it is my
opinion that we're better off lacking META.yml than having a
proliferation of different solutions to the META.yml issues.
Chris
On Jan 28, 2006, at 4:26 AM, Tels wrote:
Moin,
On Saturday 28 January 2006 11:08, Adam Kennedy wrote:
Graph::Easy installation failing here with YAML 0.50 (newer
versions of
YAML seem to be uninstallable at the moment due to Class::Spiffy +
Spiffy + Test::Base install failures...
Just what I said about dependecies etc. My Makefile.PL uses YAML
for me
(e.g. the author) to create a META.yml file with a license field,
something that MakeMaker (could?) can't do.
I used "require YAML;" to avoid that the user has to has it installed.
Unfortunately, YAML got changed, and now you also need "require
YAML::Node;" for my Makefile.PL working properly. :-(
So you can either:
* patch my Makefile.PL
* patch YAML to work like the previous version, then update it on
CPAN,
then install it
The latter is way more work, and needs time and due to what you wrote
above, might even not work.
I'd say keep the dependencies out of YAML ("KISS"!). Whether YAML
should
also load YAML::Node when you do "require YAML;" is a point for
discussion, but it certainly tripped up a *lot* of existing
Makefiles and
I don't have the time to patch them all because that requires me to
release a dozend or so modules.
Sorry for the problem, but it is only partly my fautl :)
Best wishes,
Tels
--
Signed on Sat Jan 28 11:22:01 2006 with key 0x93B84C15.
Visit my photo gallery at http://bloodgate.com/photos/
PGP key on http://bloodgate.com/tels.asc or per email.
This email violates EU patent EP0394160:
[ ########## 66% #### ]
--
Chris Dolan, Software Developer, Clotho Advanced Media Inc.
608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703
vCard: http://www.chrisdolan.net/ChrisDolan.vcf
Clotho Advanced Media, Inc. - Creators of MediaLandscape Software
(http://www.media-landscape.com/) and partners in the revolutionary
Croquet project (http://www.opencroquet.org/)