Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Why should I use perl 5.10?

by Prof Vince (Friar)
on Nov 30, 2007 at 07:59 UTC ( #654059=note: print w/replies, xml ) Need Help??

in reply to Why should I use perl 5.10?

It's a seamless and logical update from 5.8. Why would there be a need for any marketing besides this ?

Replies are listed 'Best First'.
Re^2: Why should I use perl 5.10?
by Anonymous Monk on Dec 01, 2007 at 02:27 UTC

    Plus 5.10 is faster, smaller, and cooler. What more do you need? O yeah, how about switch/case statement and named captures in regexp as a couple of bonuses, among many others? Those are features many Perl programmers have been waiting for ages, and finally their wishes have been fulfilled.

    All you need to do is upgrade your OS distribution or install a fresh box in a few months, and Perl 5.10 will most probably be there, ready for use.

    You can just use 5.10 as if it were your old 5.8. Discover new cool features as you go, at your pace. Really, there's NO risk.

      Faster? Anyone got some numbers to prove this?
        Faster? Anyone got some numbers to prove this?
        use Benchmark; timethese(100000, { 'Test' => 'eval{die "x" x 100000 if $] < 5.01}', });
        Under perl 5.8:
        Benchmark: timing 100000 iterations of Test... Test: 15 wallclock secs (14.98 usr + 0.00 sys = 14.98 CPU) @ 66 +73.34/s (n=100000))
        Under perl 5.10:
        Benchmark: timing 100000 iterations of Test... Test: 0 wallclock secs ( 0.02 usr + 0.00 sys = 0.02 CPU) @ 62 +50000.00/ (n=100000) (warning: too few iterations for a reliable count)
        Whooooo ... how good is *that* !!!!!


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://654059]
[stevieb]: ahhh yes, it *is* a ref. I had forgotten that. I too have learned something. I quit too!!
[marioroy]: Is List::Util::XS a core Perl module?
[stevieb]: corelist List::Util::XS says "List::Util::XS was first released with perl v5.10.1"
[stevieb]: so yes, since v5.10.1 :)
[MidLifeXis]: According to [metaperl:// corelist], Perl 5.10.1
Lady_Aleena blurbles. One of her favorite modiles is now in "maintenance mode" in favor of a new fangled module.
[MidLifeXis]: D'oh. Slow out of the gate.

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (13)
As of 2017-05-24 17:49 GMT
Find Nodes?
    Voting Booth?