enlightened perl organisation

enlightened |en'litnd|: adjective:
having or showing a rational, modern, and well-informed outlook

  

Planet Perl Iron Man

signup banner
Join |  About |  Update your blog feed |  Report a problem

Only showing posts tagged "perl", "cpan" or "ironman" (or containing those words).

Older posts >
Louis Erickson (laufeyjarson): PBP: 032 Utility Subroutines
Here’s where the PBP tells you to prefix “internal use only” subroutines with an underscore. Why it calls them “utility subroutines” I don’t know. This is a longstanding Perl practice that may even be in one of the [...]
Toby Inkster (tobyink): Type::Tiny Tricks #5: Wrapping Moose/Mouse Type Constraints
So you have this Moo class, and it turns out what you really need for it is the StrictVersionStr type constraint defined in MooseX::Types::Perl. You could switch the class to Moose, but long term you want to stick with...
Richard Elberger (riche): Mock Testing Net::Gnats

Mock testing Net::Gnats became critical when I wanted to work on it when traveling. Up until becoming a maintainer, I have been pretty fortunate in that virtually all of my Perl coding had been ‘private’. Meaning, I had complete control o [...]

Reini Urban (rurban): Perfect Hashes and faster than memcmp
In my previous post about perlcc next steps I talked shortly about my current project, Perfect::Hash. # generate c file for readonly lookup phash keyfile --prefix=phash -nul # pure-perl usage use Perfect::Hash; my @dict = split/\n/,`cat /usr/share/di [...]
Toby Inkster (tobyink): Type::Tiny Tricks #4: Inlined Type Constraints
If ever you're unsure of how a type constraint has been defined, you can examine the string of Perl code used to implement it. For example, does an ArrayRef[Int] accept an empty arrayref? my $type = ArrayRef[Int]; print $type->inline_check('$X');...
Christian Hansen (chansen): Let's talk about Time::Moment and round-trip of strings
In my previous blog post I wrote a lot more about Time::Moment, than appeared in the post (could have been my mistake due to a preview and error and a incomplete copy and a paste, but still very inconvenient). So...
Pattawan Kaewduangdee (oiami): OPW Ending for Beginning
The Outreach Program for Women #8 has been ended for days in August 18th. This is probably my last work report. Although, the program is finished but my work hasn't finished yet not only because I got trouble of my internet connection for few days la [...]
CPAN Testers: CPAN Testers Summary - July 2014 - Imaginos

First big thing of July was our announcement for the new CPAN Testers Admin website. Sadly there are still someproblems for authors logging in, but we have been trying to get to the bottom if it. I've also been working on an alternative login mechani [...]

Caleb Cushing ( xenoterracide ): The eight ways of implementing Polymorphism
Polymorphism is probably the single most important concept in the Object Oriented Paradigm and yet it is one of the easiest to misunderstand. Polymorphism simply means being able to treat different implementations of a thing the same. So why would yo [...]
Toby Inkster (tobyink): Type::Tiny Tricks #3: One-off Coercions
Here's a quick way to create an attribute that coerces to an integer from any other number: package Local::Eg3; use Moose; use Types::Standard -types; has foo => ( is => "ro", isa => Int->plus_coercions( Num, sub{int($_)} ), coerce =>...
Jeffrey Kegler: Language design: Exploiting ambiguity
[ Cross-posted by invitation, from its home on the Ocean of Awareness blog. ] Currently, in designing languages, we don't allow ambiguities -- not even potential ones. We insist that it must not be even possible to write an ambiguous program. This is [...]
Chris Travers: Math and SQL Part 5: Projection and Selection
The SELECT statement is the workhorse of SQL.  Updates and inserts are necessary, but selects are where the power is.  One of the significant issues many people have in understanding these and using them is a clear understanding of the math [...]
Richard Elberger (riche): Dot NET Native makes you hungry for more

Dot NET Native makes you hungry for more. Ever since dot NET Native was announced, I have been dreaming about the potential and how C# developers everywhere can take their expertise to new domains without having to learn another programming language [...]

Jeffrey Kelger: Language design: Exploiting ambiguity

Currently, in designing lanuages, we don't allow ambiguities -- not even potential ones. We insist that it must not be even possible to write an ambiguous program. This is unnecessarily restrictive.

This post is written in English, which is full of am [...]

Sinan Unur (Sinan): File::Which comes with its own 'multiwhich'

I uploaded App::multiwhich, based on a script I have been using for many years, in observance of #CPANDAY. While honestly thought it was a cute, useful little utility which I could improve by fixing edge-cases, I just realized that there is no reason [...]

Aristotle Pagaltzis: Bring your dirty YAPC::EU 2013 money at YAPC::EU 2014
Nicholas Clark: It turns out that it’s quite hard to change Ukrainian Hryvnia back into your local currency. Apparently you need to get a special form to do it, which seems to be about as common as a Ryanair refund....
Toby Inkster (tobyink): Type::Tiny Tricks #2: Types Are Objects
When you use code like this: package Local::Eg2; use Moose; use Types::Standard -types; has foo => ( is => "ro", isa => Int, coerce => 1, ); __PACKAGE__->meta->make_immutable; Perhaps you don't think very much about what that bareword Int...
Louis Erickson (laufeyjarson): PBP: 031 Ambiguous Names
Some words are easily misinterpreted, and the PBP suggests avoiding them for names. I don’t agree with one of the things it suggests you always avoid, though… The book contains a list of potentially confusing names, some of which are more [...]
Toby Inkster (tobyink): Type::Tiny Tricks #1: Quick Intersections
Type::Tiny objects overload the & (bitwise and) operator to build a type constraint intersection. For example: package Local::Eg1; use Moose; use Types::Standard -types; has foo => ( is => "ro", isa => ArrayRef[Int] & HashRef[Int [...]
Samuel Kaufman: CPAN Day winner?
I didn't think it was a contest but I think Ingy won CPAN Day.... View image...
Herbert Breunung: Kephra XP ded prototype works
Mark eting may prefer vampires, but here's a different why Kephra keeps evolving, for all that are interested in dev tools, written in Perl. Oh , btw, it go ready on CPAN day - mere coincidence. :)...
Older posts >