Well there can be only one winner in the great Dist creator review but first here are the modules I had a look at
Dist::Zilla the main one that gets all the buzz these days
Dist-Maker One I just spotted and keen to learn about.
Dist::Inkt Toby wrote it so it must be good! Right?
Distribution::Cooker Funny this one is by Brian D Foy, boy these two guys are busy on CPAN and
Dist-Man This one is really neat as I think it one of the few Perl mods with a Gefilte fish back-end
As well for the record I think I set the board a little high or I just looked in the wrong places. What I was looking for was packager that would do all the boilerplate and repetitive functions for me and not something to give me a base to work from.
Welcome to Planet Moose, a brief write up on what's been happening in the world of Moose in the past month, for the benefit of those of you who don't have their eyes permanently glued to the #moose IRC channel, or the MetaCPAN recent uploads page.
If you'd like to contribute some news for next month's issue, you can do so on the wiki.
Moose
Moose 2.1206 and 2.1207 have been released; they don't contain any jaw-dropping new features. If you're running an earlier 2.12xx release, you should probably upgrade for bugfixyness, and you shouldn't have to deal with your code breaking because of Moose changes.
Released Facebook::Graph 1.07. A bunch of bug fixes, and also a new way to ask for an extended access token.
The next release of Facebook::Graph will be a big overhaul. This is a fairly old module by my standards, and I want to bring it up to date to use the new techniques that I use such as Moo instead of Any::Moose and HTTP::Thin instead of AnyEvent::HTTP::UserAgent.
Well done to my last candidate Dist-Man so I am hoping to get lucky with this one as the past three though useful when creating a dist from scratch did not help me much when I wanted to just create the boiler plate for a dist from already existing code base.
So it dose install easily with very few dependencies and the documentation is quite good but unfortunately like all of the tools I looked at so far, except Dist::Zillia, I really should be using this pro gramme to create new mods rather than creating the Boiler plate for my new MooseX after the fact.
I just developed perlmodules.net, a website that can be of use to Perl developers.
Say you’re a Perl developer working on a project that depends on a number of modules from CPAN. Or you’re maintaining a module on CPAN with any number of dependencies.
You need to know when one of your dependencies’ interface changes (because then you should have your module updated as well), and you’d like to be notified when a new and exciting feature arrive to your dependencies, because you might want to use it.
Then PerlModules.net could be just what you need. It will notify you (through an RSS feed) whenever one of your dependencies has a new version that’s come out. The new item in the RSS feed will contain the new lines from the module’s Changes file. You can pass this RSS feed to an RSS-to-Email service, such as Feed My Inbox, to get email alerts as well.
If you login to the site, you can then also create your own private RSS feed that consists of all the modules that interest you. So you only need to add one feed to your RSS reader.
PerlModules.net needs your feedback. Either start using it, or please tell me what should be added / changed.
mop provide class, extends, and method keyword to perl. but I think these keyword should be independent from mop because these keyword is useful for non-mop modules.
I opposite only mop use these keywords. I hope these keyword is used for other modules the keywords need.
For example, current hash based module is rewrite in the following way.
Well on to the next little module I am going to have a look at Distribution-Cooker another creation from the prolific keyboard of Brian DeFoy. Well I am batting 0-3 for another module to do what I want, fill in all the boiler plate and package up all my stuff from my MooseX modules.
While this is a nice little module like the last two it is really a starting point for module creation rather that a tool to help out packaging it.
Like the last one you simply create a template by extending the original class as you see fit and then let it go creating you blank files and then used to package them up.
Well it does have the least number of dependencies of any so far and installs in a few moments so if you are limited on the version and or mods of Perl you can install this would be the Distribution tool for you.
During Polish Perl Workshop 2014 Carl Mäsak showed us how to model Feline Hotel application.
But he forgot one thing - that cats own the Internet and they want to browse and reserve rooms online!
I will pick up where he left off and show you how to publish API and go live in a blink of an eye.
Someone started using Test::Pretty and now I can't run tests. I get:
GraphViz2::Marpa: Start ... # $Test::Builder::Level is invalid. Testing library you are using is broken. : 2 at /home/ron/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/Test/Version.pm line 134.
Googling didn't help.
I've run cpanm on a range of modules:
o Test::Pretty
o Test::More
o Test::Version
o Test::Exception
o TryCatch
Swiss Perl Workshop, proud hosting member of this years European Perl Summer Tour presents two courses by brian d foy:
"Intermediate Perl", September 1-4 at the location of the Swiss Perl Workshop in Olten and "Mastering Perl", the week after the workshop, in the Zurich area.
Please support yourself with knowledge in Perl and our keynote speaker by wildly overbooking his courses. :-)
Well today I am going to give the quick one-two to Toby's little creation called 'Dist::Inkt' or as the subtitle calles it Yet Another distribution builder why he didn't call it YADB I will never know but that was for hit to decided.
So a usual these days I had a quick look at the compatibility matrix on CPAN Testers and it seems to be windows friendly and the dependency list is not too bad and it seem to install ok after the usual huff and puffing on by drive.
Now the documentation is very extensive and there are plenty of very good examples and at least one profile example. So that is great what is not great is this is not the program I am looking for as all it does is create a manifest and generate a tar ball.
So like Dist::Maker from the my last post I can rule this one out for my current use.
It's quite a common pattern in object-oriented programming to have an attribute which takes a string as its value, but which only has a small number of valid values. For example:
packageShirt;useMoose; # "S", "M", "L", or "XL"
hassize=>(is=>'ro',isa=>'Str',required=>1);
This offers no protection against invalid string values.
# No exception is thrown
my$shirt=Shirt->new(size=>"LX");
Liz and I were awarded the White Camel Award last year and are very proud of that. Thank you all. Too much honor, and I feel a bit silly now. No modules on CPAN, not a member of any Perl-organisation, not a single line of code written in the past 9 years, and mainly being silly and loud.
Liz and I went on doing what we like best. Go to Perl-events.
Well looking at my next victim on the list and so I was going to have a look at Dist::Maker. Well sorry to say this one seems out of the running very early on. As from what I have discovered on its documentation it is really is just for creating distributions from scratch. Pity as I already have most of my dist done so I will just play that I haven't done that part yet and see what I come up with
Well it did install smoothly even though I used a new clean version of Perl it only took a few mins compared to the over 45 for Dist::Zilla on a box that had a good number of prerequisites to begin with.
The Mod itself is sparsely documented but then again it is very simple stuff so that is not too many points off, One thing I did like where the examples that are included as they helped out some what.
I'm particularly proud of the Dutch Perl Workshop site, as Theo emailed me just before the event and asked whether it would be possible to have a survey. Within 24 hours, we'd set up the site, and emailed out the first survey links. It's the quickest turn around I've done, and gives me confidence the backend code is as stable as it needs to be for a release.
As such, I'm in the process of tidying up some of the package files, and will be releasing the base site to CPAN soon. I also aim to write a more generic survey creation tool, so that if anyone asks in the future, it will only take an hour or two to set up a site. and get it going.
The hard part is actually finding time afterward to make sure all the text is okay, and no inappropriate comments are made. Thankfully, that is increasing unnecessary, so with the forthcoming YAPCs (NA and Europe), I'm hoping to be able to just press the button and run the scripts to send the emails and create the survey pages.
After a few months break, I checked how many CPAN modules provide link to their version control system, how many provide a license in their META file, and how many adhere to the Changes spce.