in reply to Bring Out Your New Perl Code

Minor point: you can simplify your feature statement by just saying

use 5.10;

err, major point... you should pay attention to what ambrus says below.

• another intruder with the mooring in the heart of the Perl

Replies are listed 'Best First'.
Re^2: Bring Out Your New Perl Code
by ambrus (Abbot) on Dec 19, 2007 at 15:23 UTC

    That (use 5.10) will give an error, because it means to require perl version 5.100.000. Instead, say use 5.010; or use 5.010_000; or use 5.10.0; or use v5.10; or use v5.10.0;.

    (I've fallen to this trap yesterday when trying 5.10 out, but the error message is nice enough:

    Perl v5.100.0 required (did you mean v5.10.0?)--this is only v5.10.0, +stopped at -e line 1. BEGIN failed--compilation aborted at -e line 1.