Recently in Perl 5 Category

Announcing Strawberry Perl Professional

| 4 Comments

By Curtis Jewell

You may have heard about a new and larger Perl distribution for Windows called "Strawberry Perl Professional". The idea behind it was known as "Chocolate Perl". You may have heard that name, too. What does that mean for Strawberry Perl for Windows, and for Perl in general?

Don't worry, Strawberry Perl will still be maintained. In fact, Strawberry Perl Professional would not be possible without Strawberry Perl as it has been for the past few years, and is directly installable on top of Strawberry Perl. The ideas behind Strawberry Perl and Strawberry Perl Professional overlap, but are subtly different.

Strawberry Perl is made for the "intermediate-to-expert" Perl programmer (although even newbies can use it), who is likely to be coming over from Unix and is needing to write Perl scripts and modules in the Windows environment. The goal is to be as close to the Perl experience on Unix as possible, and with a minimum of problems, while still staying native to Windows.

The goals of the modules that Strawberry Perl includes, therefore, are:

  1. To be able to install other Perl modules easier, whether from CPAN, from .par files, or .ppm files.
  2. To include hard-to-install modules (the databases, and the cryptographic toolchain).

Strawberry Perl Professional is made for the Perl programmer of any (or even no) experience writing Perl in or for the Windows environment, and includes in addition:

  1. Modules that significant segments of the Perl community use on a regular basis (BioPerl, Catalyst.)
  2. Modules that help improve the quality and readability of the Perl code being written, and make releasing Perl programs and modules easier.
  3. Graphical programs to assist in maintenance and debugging of Perl code, viewing Perl documentation, and installing Perl modules.

To this end, Strawberry Perl Professional includes Padre as an IDE, and also includes a graphical CPANPLUS shell and Plain Old Documentation viewer. It also includes most of the modules in Task::Kensho, and more links to websites for the Perl community, especially relating to the installed modules, and introductions to programming Perl.

If you want to test out the first alpha version of Strawberry Perl Professional, read the announcement (so you know what you're getting into) and then go to the Strawberry Perl beta page and download and install it. Suggestions for improvements, and bug fixes to the component modules, are certainly welcome - I've already been given quite a few.

Curtis Jewell has been helping build and write Strawberry Perl for Windows for the past year, and also reports bugs and sends patches to other Perl projects.

Perl one-liner to sample your Mac's voices

| 3 Comments

I've been following stories about Roger Ebert's new voice, which a company has made so that they can apparently plug it into his Mac. In his appearances on camera, the voice he's been using is the Mac "Alex" voice. What other voices does your Mac have? Here's a Perl one-liner to play them.

From the Terminal window, paste this in at the prompt:

perl -le'for (@ARGV){m{/(\w+?)\.SpeechVoice};' \
  -e'$_=$1;s/([a-z])([A-Z])/$1 $2/g;' \
  -e'print qq{say -v "$_" This is $_};}' \
  /System/Library/Speech/Voices/* | sh -x

On my Mac, "Organ" isn't found, but I don't know why.

Perlbuzz news roundup for 2010-03-09

| No Comments

These links are collected from the Perlbuzz Twitter feed. If you have suggestions for news bits, please mail me at andy@perlbuzz.com.

Perlbuzz news roundup for 2010-02-01

| No Comments

These links are collected from the Perlbuzz Twitter feed. If you have suggestions for news bits, please mail me at andy@perlbuzz.com.

Perlbuzz news roundup for 2010-01-07

| No Comments

These links are collected from the Perlbuzz Twitter feed. If you have suggestions for news bits, please mail me at andy@perlbuzz.com.

Devel::NYTProf 3.0 is out, more mindblowing than ever

| No Comments

Go run to the announcement about Devel::NYTProf v3.0. Marvel at the code profiling goodness.

Highlights include:

  • Ability to profile opcodes, which means...
  • NYTProf can now profile slow regular expressions
  • More detailed stats on BEGIN blocks
  • Treemap of subroutines
  • Tracking of which subs called which other subs
  • Graphing of sub calls
  • Improved report output
  • Ability to merge profile runs, such as when a process spawns other processes like mod_perl code does.

Already I have found that my regular expression compilation is taking 6% of the runtime in my sample runs in ack. I had no idea.

Just amazing. Go try it now, and buy Tim Bunce and the other contributors a beer.

Perlbuzz news roundup for 2009-12-22

| No Comments

These links are collected from the Perlbuzz Twitter feed. If you have suggestions for news bits, please mail me at andy@perlbuzz.com.

Perlbuzz news roundup for 2009-12-08

| No Comments

These links are collected from the Perlbuzz Twitter feed. If you have suggestions for news bits, please mail me at andy@perlbuzz.com.

Perlbuzz news roundup for 2009-11-17

| 1 Comment

These links are collected from the Perlbuzz Twitter feed. If you have suggestions for news bits, please mail me at andy@perlbuzz.com.

  • Pod::Simple 3.09 hits the CPAN (justatheory.com)
  • Strawberry Perl and the nightmare of installing Padre (use.perl.org)
  • A busy month for masak in Perl 6 (use.perl.org)
  • A productive week in Rakudo-land (use.perl.org)
  • Perl one-liners explained part III: Calculations (catonmat.net)
  • Handy one-liner to lowercase all filenames in a directory: ls | perl -lne'$x=lc;print qq{mv $_ $x}' | sh -x
  • Use CPAN's toolchain to improve your code (use.perl.org)
  • Future Perl snuck up on me (headrattle.blogspot.com)
  • Find the stupid bug in my progress indicator: say "$n so far" if ( $n % 100000 )";
  • I maeked u a shell: lolshell, written in Perl 6 (theintersect.org)
  • The horrible bug your command line Perl program probably has (perlbuzz.com)
  • Frozen Perl 2010 looking for speakers (news.perlfoundation.org)
  • apache2rest is a new framework for REST APIs under mod_perl2 (code.google.com)
  • Putting MySQL on a ramdisk to speed up tests (use.perl.org)
  • Generating Feedburner graphs (catonmat.net)

perl.org gets a beautiful upgrade

| 6 Comments

Robert Spier writes

To match the massive advances in Perl over the last few years, www.perl.org has been brought into the modern era. www.perl.org has been completely redesigned, making it clearer and easier to use. All the content has been reviewed and brought up-to-date to provide links and other helpful resources for both new and experienced Perl programmers.

Thanks to www.foxtons.co.uk for donating time from Leo Lapworth, Stephen Morgan, and Cameron Richmond!

Holy cow is it pretty. Thanks to those who made it happen! The download page is especially handy.

« Parrot | Main Index | Archives | Perl 6 »