Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^4: What's the best way to use Any YAML (not YAML::Any)

by djerius (Beadle)
on Mar 18, 2014 at 01:27 UTC ( #1078713=note: print w/replies, xml ) Need Help??

in reply to Re^3: What's the best way to use Any YAML (not YAML::Any)
in thread What's the best way to use Any YAML (not YAML::Any)

This particular distribution does depend upon non-CORE modules, but the YAML support is optional (which apparantly I haven't stated).

I don't think that requiring installation of a particular package when an adequate alternative is already installed is a satisfying solution. I haven't attempted to code such a requirement into Makefile.PL (or cpanfile) and see how the various CPAN clients handle it. I should probably do so.

The run-time code would still need to select amongst the installed packages, so the original question woould still be cogent.

I wonder if some sort of capabilities database would be of help here. Modules providing capabilities would be registered upon installation. At run time the database would be queried to determine which modules were available; if one hadn't been loaded, one would be.

  • Comment on Re^4: What's the best way to use Any YAML (not YAML::Any)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1078713]
[chacham]: I'm sure this is old, but i just came across it: If you put a million monkeys at a million keyboards, one of them will eventually write a Java program. The rest of them will write Perl programs.
[LanX]: lol
[Corion]: Woo hoo! A new Auralnauts episode!
LanX mean unfair and funny
[LanX]: but most java code looks like from one million monkey using eclipse. ..
[Eily]: ah yes, perl's motto, There Is More Than One Monkey Typing It

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2018-04-23 16:06 GMT
Find Nodes?
    Voting Booth?