Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Extracting/embedding sample files in POD

by Yary (Pilgrim)
on Feb 17, 2015 at 17:46 UTC ( [id://1117027]=note: print w/replies, xml ) Need Help??


in reply to Re: Extracting/embedding sample files in POD
in thread Extracting/embedding sample files in POD

Hmmm, your last link shows that Moose uses inline tests; if it is a popularity contest, that is one heavy vote in favor!
  • Comment on Re^2: Extracting/embedding sample files in POD

Replies are listed 'Best First'.
Re^3: Extracting/embedding sample files in POD
by Anonymous Monk on Feb 18, 2015 at 00:16 UTC

    Hmmm, your last link shows that Moose uses inline tests; if it is a popularity contest, that is one heavy vote in favor!

    I doubt that :) Moose only has 10 authors. Its only used for the cookbook.

    OTOH, Test::Inline isn't always listed as a dependency, http://grep.cpan.me/?q=%3Dbegin+testing reveals a few more distributions that depend on it ... kinda not really (at least a few authors tried it once upon a time)

    Extracting tests from pod seems a bit backwards ... embedding makes a bit more sense, but still seems like busy work ... but installing the tests and telling the user to UTSL for complete/runnable examples? That seems "just right" :)

    Consider Test::Class/https://metacpan.org/requires/distribution/Test-Class?sort=%5B%5B2%2C1%5D%5D which has 127 distributions depending on it ...

    Like keanu once said, the problem is choice :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-19 03:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found