Why should I use perl 5.10?

August 19th, 2008

From http://perlmonks.org/?node_id=654086:

Here are some things of the top of my head that I think are pretty cool:

* state variables No more scoping variables with an outer curly block, or the naughty my $f if 0 trick (the latter is now a syntax error).
* defined-or No more $x = defined $y ? $y : $z, you may write $x = $y // $z instead.
* regexp improvements Lots of work done by dave_the_m to clean up the internals, which paved the way for demerphq to add all sorts of new cool stuff.
* smaller variable footprints Nicholas Clark worked on the implementations of SVs, AVs, HVs and other data structures to reduce their size to a point that happens to hit a sweet spot on 32-bit architectures
* smaller constant sub footprints Nicholas Clark reduced the size of constant subs (like use constant FOO => 2). The result when loading a module like POSIX is significant.
* stacked filetests you can now say if (-e -f -x $file). Perl 6 was supposed to allow this, but they moved in a different direction. Oh well.
* lexical $_ allows you to nest $_ (without using local).
* _ prototype you can now declare a sub with prototype _. If called with no arguments, gets fed with $_ (allows you to replace builtins more cleanly).
* x operator on a list you can now say my @arr = qw(x y z) x 4. (Update: this feature was backported to the 5.8 codebase after having been implemented in blead, which is how Somni notices that it is available in 5.8.8).
* switch a true switch/given construct, inspired by Perl 6
* smart match operator (~~) to go with the switch
* closure improvements dave_the_m thoroughly revamped the closure handling code to fix a number of buggy behaviours and memory leaks.
* faster Unicode lc, uc and /i are faster on Unicode strings. Improvements to the UTF-8 cache.
* improved sorts inplace sorts performed when possible, rather than using a temporary. Sort functions can be called recursively: you can sort a tree
* map in void context is no longer evil. Only morally.
* less opcodes used in the creation of anonymous lists and hashes. Faster pussycat!
* tainting improvements More things that could be tainted are marked as such (such as sprintf formats)
* $# and $* removed Less action at a distance
* perlcc and JPL removed These things were just bug magnets, and no-one cared enough about them.

create_dovecot_shares

May 31st, 2006

Might come in handy for someone:

http://www.cpan.org/authors/id/G/GH/GHENRY/create_dovecot_shares-1.05

Samba-LDAP hits 0.01! ;-)

March 30th, 2006

FYI:

http://search.cpan.org/~ghenry/

Gavin.

Fedora Core 5 Out!

March 21st, 2006

At last!

https://www.redhat.com/archives/fedora-announce-list/2006-March/msg00027.html
http://fedoraproject.org/wiki/FC5ReleaseSummary
http://fedora.redhat.com/docs/release-notes/fc5/

YAPC Birmingham (TBA)

March 21st, 2006

I am going. Anyone else fancy coming?

http://www.yapceurope.org/

Perl 5.8.8 out (Forgot to mention)

March 21st, 2006

Oops, was out on Feb 02, 2006!

Grab it at http://www.perl.com/download.csp#stable

My First CPAN Module

January 4th, 2006

http://search.cpan.org/~ghenry/

One of my New Years Resolutions complete!!

Now I’ll crack on with some more.

Gavin.

Suretec site upgraded using Catalyst

December 17th, 2005

Have a look at the new site: http://www.suretecsystems.com

A bit of re-structuring visually, but now all on Catalyst with a RSS feed for the news page.

Will add more later.

http://catalyst.perl.org

Convert any AVI File to a DVD Image

December 3rd, 2005

For more info, please read:

avi2dvd

Thanks,

Gavin.

Change your LDAP password

August 26th, 2005

Something I have just written:

Perlmonks Post

Hope someone finds it useful ;-)

Gavin.