Dist::Zilla Consumes Even More

Back to do some more Sections here in the Dist-pen today.

Today I am going to look at three plug-ins the very simple [Extends] the equally simple [MooseExtends] the little different [MooseConsumes]

The first two do what you would expect. Create an 'EXTENDS' section in your POD that lists all the modules that your '.pm' file is based on.

The first one [Extends] loops though the '@isa' and plucks the information from there. Now for kicks I installed this one and added it to my 'weaver.ini' and I got


=head1 EXTENDS
=over 4
=item * L<Moose::Meta::Class::__ANON__::SERIAL::37>
=back
after a clean an build, So this is not a plug-in that I would use with a Moose class.

Perl 5 Porters Mailing List Summary: January 9th-15th

Hey everyone,

Following is the p5p (Perl 5 Porters) mailing list summary for the past week.

Enjoy!

Symbolic xor

Why doesn’t Perl have a symbolic logical xor operator (spelled “^^”)? As far as I can tell, the only reason is that C doesn’t have one...

At a minimum, it would remove the need for parentheses in expressions like
  $flag = ($subflag1 xor $subflag2);
instead allowing
  $flag = $subflag1 ^^ $subflag2;
…like you can now do with
and and or, as long as you spell them “&&” and “||”.

Would I use this a lot? No. (I would have for maybe the 2nd time yesterday, which is what made me think of it.) But as someone who loves completeness, the absence of a symbolic xor absences from Perl has always bothered me.

say "Hello World" works with the full setting.

Finally got the full setting to compile and load and 'say "Hello World"' works.
I'll write a bigger update once everything is cleaned up and commited.

Dist::Zilla Moose Weaver

So it is Moose day here in the Dist-Pen

So I am finally back to Moose after many many days with Dist::Zilla and Pod::Weaver as to today I am going to see how I can use the Moose::MOP, Dist:Zill and Pod::Weaver all together.

What I am look at today is the [Consumes] section plug-in which is suppose to run out read the meta-classes of my Moose objects and then print out all the Roles that a class consumes. I am not sure what results I will get but is should be fun to see.

So all I need to do is add this in my 'weaver.ini'

[Generic / OVERVIEW]
++[Consumes]
[Collect / ATTRIBUTES]

Perl 5 Porters Mailing List Summary: January 2nd-8th

Hey everyone,

Following is the p5p (Perl 5 Porters) mailing list summary for the past week.

Enjoy!

A blog site for Sparrowdo project

Hi ! Sparrowdo is lightweight and very flexible configuration management system written on Perl6. I have started a blog site where going to drop technical notes and others news related sparrowdo project, welcome to https://sparrowdo.wordpress.com !

The Perl Conference 2017 in DC - CFP

I'm super excited to be helping organize this year's largest north-american perl conference! Myself and the other DC-Baltimore Perl Workshop organizers are pitching in big time, and it's all starting to come together. Here is our CFP (which we'll keep posting all over the place) :)

The Perl Conference 2017 in DC (known in a parallel universe as YAPC::NA 2017) will be held at the US Patent and Trademark Office (USPTO), in a historic suburb of DC, from June 18-23!

We are happy to open up submissions for talks and tutorials, you can see all the details and submit at www.perlconference.us/tpc-2017-dc/cfp/. We are looking for talks about anything interesting to Perl Developers of all experience levels -- from specific techniques and libraries to good ways to organize an agile team or Getting Things Done ... related technologies like your favorite data storage engine or how you automated your home. If in doubt -- submit!

Follow our twitter feed @perlconferences for news and updates. If you have any questions or comments about the CFP please email talks@perlconference.us or for more general inquiries admin@perlconference.us.

I hope to see you all there!!

Dist::Zilla In C

It is C round up day today in the Dist-Pen.

In my last post I had a look at [Contributors] section plug-in and today I am going to look at not one but three plug-ins

  • CommentString
  • CollectWithAutoDoc and
  • CollectWithIntro

CommentString
This simple plug-in lets you do your own 'Comment' sections like we have seen with [Name] and [Contributors]. It works in much the same way as the [Collect] plug-in, you supply the 'name' for the section and then a 'key' to match on.

For example if I want to have a section for 'Notes' for any comments I may make I could do that by adding this into my 'Weaver.ini' file

camel-harness version 0.6.0

I am happy to announce the release of version 0.6.0 of camel-harness (former CamelHarness.js) - a small Node.js - Electron - NW.js library for asynchronous handling of Perl 5 scripts.

The library is already an NPM package with a clear, object-based API. Now camel-harness can start long-running, event-driven Perl scripts and communicate continuously with them writing on their STDIN.

As usual, any comments and suggestions are quite welcome!

Any module to convert 'whitish' to 'white'?

A sort of de-inflexion module, so to speak.

Netdisco moves to Github

Quoting Oliver G.

Hi all,

First, a very happy [Gregorian calendar] new year to you, and thanks for
continuing to use our software!

Following agreement in the dev team, the new home for Netdisco and
SNMP-Info is: https://github.com/netdisco

Please update your git repository URLs as in the example below:

$ git remote -v
origin ssh://USERNAME@git.code.sf.net/p/snmp-info/code (fetch)
origin ssh://USERNAME@git.code.sf.net/p/snmp-info/code (push)
$ git remote set-url origin git@github.com:netdisco/snmp-info.git

The full list of from/to URL changes (pay close attention!):

ssh://USERNAME@git.code.sf.net/p/snmp-info/code
git@github.com:netdisco/snmp-info.git

ssh://USERNAME@git.code.sf.net/p/netdisco/mibs
git@github.com:netdisco/netdisco-mibs.git

ssh://USERNAME@git.code.sf.net/p/netdisco/misc
git@github.com:netdisco/netdisco-misc.git

ssh://USERNAME@git.code.sf.net/p/netdisco/code
git@github.com:netdisco/netdisco-legacy.git

Dist::Zilla Gives Back

Still stuck in Section mode here at the Dist-Pen

Carrying from my last post today I am going to look at the [Contributors] section plug-in. This particular plug-in is of little value so for to my 'Database::Accessor' project as I have no other people working on it with me but one can always dream big that I may have some helpers as time goes on. So it is is work a look.

I wanted to see if anyone else is using this plug-in so I did a Reverse Dependency look up and found that there are thirty-six other distributions that use this so I have few places where I can go an peek and see how it is being used.

I release Object::Simple 3.19 - Add official irc channel #object-simple on irc.perl.org

I release Object::Simple 3.19

http://search.cpan.org/dist/Object-Simple/lib/Object/Simple.pm

Changes

I removed DEPRECATED class_attr and dual_attr methods and clean up tests.

And I create the official IRC channel #object-simple on irc.perl.org

News

Happy new year!

This year I try to talk on irc.perl.org.

I also created some irc channels.

#validator-custom

#gitprep

#dbix-custom

The Perl Toolchain Summit 2017

It is my pleasure and honor to announce that the Perl Toolchain Summit will be held in Lyon, France from Thursday 11th May 2017 through Sunday 14th May 2017. This is the event previously known as the Perl QA Hackathon, where we bring together as many of the key people working on the Perl toolchain as we can.

Perl Adventure Series

Last month I offered a bold proposal to my Perl Mongers group (MadMongers): Let’s create a video game from scratch as a learning exercise!

At MadMongers we give a talk every month on some area of Perl technology. However, we almost never put those lessons into a practical hands-on form. Yet, we have members who are everything from “I have never used Perl.” to “I have used Perl every day for 20 years.” So my proposal was to build something relatively simple so that we could build it in roughly 12 two-hour sessions over the course of a year, but complicated enough to have real decisions we could make about its design. That way we could put to use skills like using git, creating a CPAN distribution, writing tests, using data storage mechanisms, parsing text, creating user interfaces, making web services, etc. 

Dist::Zilla Hates PEEPS

It boy scout day here in the Dist-Pen.

In may last post I had final look the various [Bug] section plug-ins so today I am going to look at Merit-badges. I am really talking about that great feeling you had when you earned your first badge in Cubs, Brownies or Young Pioneers. You know the ones I mean the ones for learning to build a fire, sew on a badges, help an old man across the street or showing true will in conforming with the collective.

You can get the same feeling all over again in the programming world as well. All joking aside the [Badge] section plug-in is a quick way to get visual display information to potential users of your software such as this;

perl510.png

So at a glace you know it is passing its testing and you need at least perl 5.10 to use it.

Rakudo Star: Past Present and Future

At YAPC::EU 2010 in Pisa I received a business card with "Rakudo Star" and the
date July 29, 2010 which was the date of the first release -- a week earlier
with a countdown to 1200 UTC. I still have mine, although it has a tea stain
on it and I refreshed my memory over the holidays by listening again to Patrick
Michaud speaking about the launch of Rakudo Star (R*):

https://www.youtube.com/watch?v=MVb6m345J-Q

R* was originally intended as first of a number of distribution releases (as
opposed to a compiler release) -- useable for early adopters but not initially production
Quality. Other names had been considered at the time like Rakudo Beta (rejected as
sounding like "don't use this"!) and amusingly Rakudo Adventure Edition.
Finally it became Rakudo Whatever and Rakudo Star (since * means "whatever"!).

Perl 5 Porters Mailing List Summary: December 26th, 2016 - January 1st, 2017

Hey everyone and happy new year!

Following is the p5p (Perl 5 Porters) mailing list summary for the past week.

Enjoy!

CPAN Pull Request Challenge 2017

I just received a mail from Neil Bowers asking if I would consider having my CPAN distributions be a part of the 2017 CPAN Pull Request Challenge.

My undelayed mental response: Well of course...

I participated in the 2016 Hacktoberfest, I did not contribute much, but I participated and I would have loved to contribute more. These sort of "events" are good, IMHO they bring out the best in open source and they demonstrate the essence of the open source community. In addition they help tie a community together, so when you are like me; a maintainer of CPAN distributions with very little time, every patch and every PR is most welcome.

A CPAN Pull Request Challenge gives you exactly that.

The CPAN Pull Request Challenge 2017 is soon to kick off, which mean YOU have a chance to benefit from this incredible initiative.

If you have received a mail from Neil respond and be take into consideration for possible PR coming your way or you can tag your issues on Github with the label:

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.