Entering MooseX, XXV 25 Post and Still Nothing on CPAN??

Well this is true this is the 25th post in this series and I still haven't released the code I started with in this post. Please to be forgiving me as it has been rather heck-tick about here but I think I should be able to wrap things up soon.

I really just have the POD to write up which I am going to look at tonight. One thing that you do here about Perl when talking to non-Perl programmer is that is lacks documentation like JAVA. Usually when I here this I send them off to Ensemble API and ask them if that is not good documentation what is??

Anyway the way Perl has cornered the genome market but that is another post.

Immutability with Moo(se)

Would it be doable, to have a module to activate immutability with Moo(se)? Something like

with MooX::Immutable;

which would make all the objects from the class immutable.

Strawberry Perl 5.20.0.1 released

Strawberry Perl 5.20.0.1 is available at http://strawberryperl.com

More details in Release Notes:
http://strawberryperl.com/release-notes/5.20.0.1-32bit.html
http://strawberryperl.com/release-notes/5.20.0.1-64bit.html

I would like to thank our sponsor AuditSquare.com for resources provided to our project.

MojoConf 2014 Recap

Last week I had the joy to attend the first (and certainly not the last) MojoConf in Oslo Norway. It was an incredible experience! First and foremost I want to thank the Oslo Perl Mongers, the organisation and execution of the conference was first rate! I also want to thank Jan Henning Thorsen (batman), who graciously offered to host me. We had such productive conversations over evening congacs, both Perl and otherwise.

I will admit now, that had wondered if the community was large enough to support an international conference. I am quite happy to say that my fears were unfounded. We had attendees from all over the world, including the USA, France, Greece, Israel, the UK, Germany and others I’m forgetting I’m sure.

Glen Hinkle (tempire) gave a professional training, which was sold-out! When companies (and even a few individuals) are willing to pay real money for training, it goes a long way to prove that Mojolicious is the world-class framework that we know it is.

Entering MooseX, XXIV Well Now Lets See

Well there can be only one winner in the great Dist creator review but first here are the modules I had a look at

  1. Dist::Zilla the main one that gets all the buzz these days
  2. Dist-Maker One I just spotted and keen to learn about.
  3. Dist::Inkt Toby wrote it so it must be good! Right?
  4. Distribution::Cooker Funny this one is by Brian D Foy, boy these two guys are busy on CPAN and
  5. 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.

Planet Moose - May 2014

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.

The Onion

Veg of the Day

Facebook::Graph 1.07

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.

[From my blog.]

Entering MooseX, XXIII A little More

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.

New developer tool: perlmodules.net

Hi people.

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.

It is a Mojolicious site, and is free to use.

Perl Catalyst - Concepts, Components and (use) Cases.

This is a blog about a new documentation project for Catalyst, and its cross posted from my personal blog:

Perl Catalyst - Concepts, Components and (use) Cases.

Thanks!

jnap

mop problem 3 - class, extends, and method keyword should be independent from mop

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.

Before:

Entering MooseX, XXII Just two more

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.

Perl 6 meets JSON-RPC

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.


So let's create modern Feline Hotel in Perl 6!

WTF: $Test::Builder::Level is invalid

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

Any ideas?

Courses with brian d foy in Switzerland

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. :-)

Entering MooseX: XXI Not the Best Superbowl Ever

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.

Enumerations in Moose

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:

 package Shirt;
 use Moose;
 
 # "S", "M", "L", or "XL"
 has size => (is => 'ro', isa => 'Str', required => 1);

This offers no protection against invalid string values.

 # No exception is thrown
 my $shirt = Shirt->new(size => "LX");

Marketing for Perl is easy because Perl is awesome

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.

Bangkok.pm 1 meet up short summary and pictures.

Bangkok.pm 1 meet up is now ended. I posted short summary and pictures on: http://oiami.blogspot.com/2014/05/bangkokpm-1-meet-up-has-been-ended.html

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.