Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Should I list core modules as dependencies? (yaml comments)

by Anonymous Monk
on Jun 02, 2013 at 10:29 UTC ( [id://1036573]=note: print w/replies, xml ) Need Help??


in reply to Re: Should I list core modules as dependencies?
in thread Should I list core modules as dependencies?

So why don't I list them? Seeing a long list of dependencies can put some people off using a module.

Well, it appears you use META.yml, and since yml supports comments, you can ... corelist ... make clear which dependencies are CORE and which are not

But I suppose that might still put people off :)

  • Comment on Re^2: Should I list core modules as dependencies? (yaml comments)

Replies are listed 'Best First'.
Re^3: Should I list core modules as dependencies? (yaml comments)
by LanX (Saint) on Jun 02, 2013 at 12:33 UTC

      no need for yaml comments

      Sure there is, people read META.yml you know

Re^3: Should I list core modules as dependencies? (yaml comments)
by tobyink (Canon) on Jun 03, 2013 at 14:21 UTC

    "yml supports comments"

    And I'm sure they're very useful for people handwriting their META.yml files. For the rest of us who generate them using CPAN::Meta (e.g. via ExtUtils::MakeMaker) YAML comments are not really an option.

    package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

      And I'm sure they're very useful for people handwriting their META.yml files. For the rest of us who generate them using CPAN::Meta (e.g. via ExtUtils::MakeMaker) YAML comments are not really an option.

      Oh yeah, its not like there exist people who can write programs :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1036573]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-18 02:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found