Make me do some work, via Questhub!
I'm on a quest to fix up the Changes file for at least 10 distributions on CPAN. For every additional 'like' I get on my quest, I'll fix up another dist. This was inspired by a recent entry on the CPAN Testers blog, which mentioned Brian Cassidy's CPAN::Changes Kwalitee Service. The service shows how many dists have conforming Changes files, and results for recent uploads.
I am creating Perl tutorial site for newbie "Sampuru codo ni yoru perl nyuumon"
I am creating Perl tutorial for newbie "Sanpuru codo ni yoru perl nyuumon"(Perl Tutorial by code examples)
Sampuru codo ni yoru perl nyuumon
This is site for perl newbie.
I hear that perl is dirty, not cool, very loose. Ruby is good, python is good.
But Perl is good language.
Perl have ability to write code clean and beatutiful.
For example, Mojolicious have clean code.
This is perl.
The big reason perl is said dirty is perl very old code which is more than ten years old.
In the old days, non-programer write perl code for CGI script to create Web site.
The old perl code is dirty, but latest perl code is not dirty.
Perl is fast, light, and stable, less-memory.
I think Perl need more understandable tutrial which have examples.
Contribute to Perl by completing quests on Questhub
Initially launched as Play Perl, Questhub is now a general place where groups of people can share their tasks as quests, and vote on quests to encourage each other. Play Perl is now the Perl realm on Questhub.
Contributing to Perl and the Perl community was never so easy. Last week Questhub gained support for stencils: pre-scripted quests with clear instructions, and bonus points. The perl realm now has an initial set of stencils, each of which defines a specific way you can contribute to Perl, CPAN or the Perl Foundation. Some of these only require a few minutes, some require a larger commitment of your time.
Send-A-Newbie 2013
It is with great pleasure that I announce that Theo J. van Hoesel and Mihai Pop have been awarded places on this year's Send-A-Newbie Initiative, from the Enlightened Perl Organisation, and will have fully sponsored attendance to the Yet Another Perl Conference, Europe in Kiev from the 12th to the 14th August 2013.
As with other years the selection process was relatively straightforward and this year we offerred places to four candidates, however due to unforseen circumstances only two of them have so far been able to confirm their attendance and book places.
We would like to thank our sponsors for their continued support of this initiative and to those who made donations at the London Perl Workshop and online through the donation system.
If you are attending this year's YAPC::EU::2013 in Kiev I thoroughly encourgae you to seek out the neophytes and welcome them to our community. As always we will be re-starting the initiative in the autumn in anticipation of the 2014 conference season.
Please consider joining the Enlightened Perl Organisation or donating to next year's Send-A-Newbie initiative
function return in scalar context
sub lowercase {
return map { lc } @_ ;
}
$jim = lowercase('jim') ;
print "$jim\n" ;
Naturally that this snippet of code prints 1. I understand the explanation of "an array in scalar context blah blah blah". But it's so counter-intuitive because many functions are intended to mutate each element in a list. Presumably one should define separate functions depending on whether an array is expected, but that's so non-perlish. There's no elegant way to throw the wantarray operator in that example function. And even if there was, it's awkward to use the same idiom repeatedly.
I'd prefer simply to use a pragma such as the following:
Salt Lake Perl Mongers welcome Damian Conway, August 1st
Salt Lake Perl Mongers, with help from Bluehost, and Utah Open Source are pleased to announce a special presentation by Damian Conway:
Temporally Quaquaversal Virtual Nanomachine Programming In Multiple Topologically Connected Quantum-Relativistic Parallel Spacetimes...Made Easy!
Now who could miss that?! (It is free, after all.)
Date: Thursday, August 1st at 7:15pm (Parking is free after 7:00pm.)
Location: Utah Valley University, Liberal Arts Building, Room 101.
Reservations are recommended; visit the Salt Lake Perl Mongers website for details.
The talk will last about 90 minutes, followed by a Q&A session. If you're within driving range of our venue in Orem, UT, or happen to be in Utah August 1st, -- quoting one of our members -- "Your nerd card will be revoked if you miss this."
Here's the synopsis of Damian's talk:
Firebase with perl
I was looking at ways to add instant notifications for a social feature that we are working on for the new version of Brainturk.com, I came across Firebase which is a scalable real-time backend database that makes it easy to build real time apps.
I wanted to use this from my server as well as from Javascript and looking at their libraries for custom generators they have libraries for ( php, python, ruby, node, java , .net ) but no perl library was available.
The beauty of CSV
So I'm working on a site right now that will be powered by Perl on the back and d3.js on the front.
And here's what I'm loving about d3, I can feed it CSV files. Yup. Not JSON. Not XML. Good old CSV.
I know, it's a bit primitive. And there's a good chance at some point I end up JSONing everything up. But I love me some CSV. And there are 551 CPAN packages for pushing, pulling, parsing, encoding or otherwise mangling it.
A note for users of Tree and Tree::Binary
There used to be 2 Tree::Binary modules on CPAN: One standalone and one within
Tree. The latter is now Tree::Binary2.
Please ensure the one you're using is the one you think you're using!
'Nuff said.
Figures from Week One of London Perl Workshop
It has been a week since the announcement of the London Perl Workshop hit the inboxes of all those on the announce list and was first populated across the internets. In the first of a series of weekly reports we look at what has happened in the past seven days in our Facts and Figures news.
Sponsors:
We have been happy to announce a new sponsor in the first week and the enticing news is that there should be a few more joining them in next weeks news (as evidenced by the news items today). We would like to firstly say a big hello to AntibodyMX, Magnum Solutions, Shadowcat Systems, the Enlightened Perl Organisation and the University of Westminster who joined us before the announcement last week. Joining them has been Nestoria who have been a long time supporter, sponsor and contributor to the event, it is good to have you along.
Submitted Talks:
We have had two talks submitted already:
John Davies has submitted: Bug driven documentation
Traits, traits and more traits
So, a few days ago I posted about adding p6-style traits to the p5-mop, a couple days later I posted about how they helped me keep things simple when adding overload support to the p5-mop. Since this is a new approach and has not had the benefit of battle testing that the subclass/role heavy Moose approach has, I have been experimenting with it to see how far it can be taken.
Perl 5 Porters Weekly: July 8-14, 2013
Welcome to Perl 5 Porters Weekly, a summary of the email traffic of the perl5-porters email list.
Topics this week include:
- experimental? internal functions with M flag
- experimental? Sun Studio Compilers for Linux OS
- perlopentut branch for review
A generator object for Perl 5
I have recently started a new job and it has forced me to learn more Python than I have ever had need to learn. I decided that I should take this as an opportunity to learn, and as Miyagawa-san has often done, steal when possible.
One thing that fascinated me is Python’s yield or generator pattern. In this pattern, you can make a function (or my case an object) which implements a lazy iterator returning a value (or possibly values (see below)) without leaving the while loop that generates them.
Decadon: Registration
This year the London Perl Workshop has taken the bold step of having tickets for the event. They are priced in four stages and are entirely voluntary as to which stage you purchase:
Workshop Attendee (zero pounds)
The London Perl Workshop is a free to attend event which means we place no fiscal barrier to being there. All persons are eligible for a ticket.
Workshop Friend (twenty-five pounds)
A friend of the Workshop is helping to support the event they respect, and we admire your brio in doing so.
Workshop Lover (fifty pounds)
Wow, you really like us, and this stunning contribution will be used at this event and next year.
Workshop Sponsor (one hundred pounds)
You realise this makes you a SPONSOR! It also makes you a star, contributions at this level are making a great impact and we thank you for making that special choice.
Return to Perl
Perl was the first language I loved. So, for a project I'm working on it's time to go back to her.
More on the project in later posts. But I'm hoping it's something that will take the world by storm.
On Starting a Perl Mongers group in the Philippines
Following up to szabgab's blogpost: a couple of years ago, I called out for people interested in getting together to make a new Perl group here in my country, the Philippines. I saw that there were already some registered Perl mongers groups in pm.org for Makati, Manila, and elsewhere, but all of their websites, and even the contact persons listed form, were simply inactive or unreachable. There were a few people responding to my call, but I made the mistake of not following through to that call myself, due to other circumstances happening at that time.
How to create portable web application in Perl
How to create portable web application in Perl
I'm Yuki kimoto, Japanese perl programmer.
I like creating web application by perl.
I release GitPrep a few weeks ago.
This is very portable web application and inatallation is easy.
Requirement is only Perl 5.8.7.
What technology is used?
I explain a little.
cpanm
cpanm is very good. cpanm can specify module version in cpanfile.
this is cpanfile.
requires 'DBI', '== 1.625';
requires 'DBD::SQLite', '== 1.37';
requires 'Object::Simple', '== 3.09';
requires 'DBIx::Custom', '== 0.28';
And I prepare setup.sh. this is automatically setup script for application.
Build Something People Want
A while back I said "just build something”. That was a bit of a lie. You need to build something people want. Don’t be the one who builds something s/he thinks people want. Make sure. Do you want it? Are you building it for someone who will use it immediately? Do you work somewhere that could use it if it existed? Do some basic market research. If you build something people want, then you’re already on your way to success.
[From my blog.]
Installing Term::ReadLine::Gnu on OS X, the easy way
If you try to install Term::ReadLine::Gnu on Mac OS X, you will ordinarily run into this unpleasantry from the Makefile.PL (which will likely end up in such as ~/.cpanm/build.log):
The libreadline you are using is the libedit library. Use the GNU Readline Library.
Here I will assume that you are using Homebrew and have installed GNU Readline:
brew install readline
Even so, you will get this error. This is because of how Homebrew installs Readline. Since OS X ships libedit as libreadline, Homebrew tries to avoid conflicts with system software by installing Readline as “keg-only” software – that is, it’ll install it within its package-managed filesystem hierarchy beneath /usr/local/Cellar, but it won’t link the libraries into /usr/local/lib, so that they won’t be visible to software that isn’t explicitly linked against it.
There is an easy and obvious way around this:
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.