If you have a Perl-related news item you'd like to share, you may post it in the Perl Newssection.
Please try to avoid duplicating news; but pointers (with summaries) to important stories on other sites are acceptable here.
»»» The rest of this post is about using the immature Perl 6 with the rock solid Perl 5 «««
Stefan Seifert, aka nine, did a 5 minute lightning talk about P5/P6 interop using Rakudo/NQP/MoarVM and his brand new Inline::Perl5 module when it was just a few hours old at YAPC::EU. I don't think a video of that talk has been uploaded yet.
The feature this post is about is just a few days old. It doesn't yet destroy P5 objects, there's more marshaling work to do, etc.
Update About one month after nine started this project... A destroy that makes sense in the context of P6 has been implemented. (But note ribasushi's point about a ref-count driven destroy.) Marshaling is done, including marshaling of exceptions. There's support for inheriting from Perl 5 classes in Perl 6. It already covers a lot of P5/P6 interop functionality.
(I'm bringing this project to monks' attention at this very early stage in the hope that at least some of you consider joining the freenode IRC channel #perl6 over the next couple days to encourage P6ers, play with this new P5 interop, ask questions, etc. Here's hoping.)
Stefan Seifert (aka nine or niner) did a lightning talk at YAPC::EU and started the Inline::Perl5 repo 4 days ago.
PerlWizard at http://www.rtbaileyphd.com/perlwizard quickly generates
front ends for user-friendly Perl scripts for Unix and Windows, with emphasis
on the user interface, managing defaults files, and providing help. The generated user interface supplies defaults
for unentered options, validates options, and records options for use as
defaults on subsequent runs of the generated scripts. This makes PerlWizard scripts much more
interactive and friendly than typical command line programs. Once PerlWizard generates the front end, the
programmer just needs to go to the bottom of the generated code and start
No need to worry about how to set up Getopt::Long
calls, initialization files, built-in help, log files, etc.
Jonathan Worthington has just delivered a presentation at YAPC::EU discussing Rakudo performance work over the last 12 months. There's a video of the talk and slides.
The presentation includes a look at benchmarks comparing a recent Rakudo (on MoarVM) with the 2013.08 release of Rakudo (on Parrot) and Perl 5 v20. I'm curious what folk make of the numbers on page 76.
If any readers have tried Perl 6 but found it too slow, now might be a good time to try again; you should find that it's a lot faster than it was, and if it isn't fast enough for your use case it's now a lot easier to both see what's making it slow and to make it faster.
Project Euler members will be glad to know that it has now recovered from the June 20 security breach, and users can again access their accounts. (Be prepared to change your password on the initial login.) For those not familiar with Project Euler, it provides:
a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve. Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required to solve most problems.
The site is language-neutral, but I have found Perl to be an excellent language for tackling the problems; and, of course, the challenges are a useful way to practice one’s Perl skills.
Ask not what CPAN can do for you, ask what you can do for CPAN. CPAN day falls on the 16th of August. What is CPAN day? The anniversary of the first "true" module upload to CPAN, on the 16th August 1995, and a call to arms for bug fixes, releases and other contributions.
A nice idea, considering that (at time of writing) there are 501pages of issues on RT (yes, I appreciate many of these are very old or for modules which no longer exist).
It seems, that there was no any GUI library for perl/SDL. Now it's fixed a bit :)
I'm glad to announce perl5 bindings to AntTweakBar!
AntTweakBar is a tiny GUI library for OpenGL/SDL/DirectX application. There is no any complex dialogs, alerts, widgets etc., but a small key-value tabular window, with possibility to display/enter text, number, list of strings, checkbox and button; more exotic possibilities of it are: colour choosing widget, 3D-vector and even quaternion rotation choose/display widgets.
Perl bindings to AntTweakBar are available on CPAN here. There is corresponding alien package, so there is no need worry how to install original C-library into system.
I've got successful test reports on FreeBSD, Linux, Darwin and Win32 (strawberry perl).
Patches, feature requests, code critique or documentation fixed would be welcome. Thanks for your attention!