Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: How to kill perl?

by sauoq (Abbot)
on Nov 04, 2005 at 23:52 UTC ( [id://505912]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to kill perl?
in thread How to kill perl?

perl -e'@a=(1..10);@a=sort{@a=(1);0}@a'

That works fine for me on 5.8.0 buts segfaults on 5.8.7.

-sauoq
"My two cents aren't worth a dime.";

Replies are listed 'Best First'.
Re^4: How to kill perl?
by robin (Chaplain) on Nov 05, 2005 at 00:50 UTC
    Since 5.8.4, @foo = sort @foo is optimised to be an in-place sort of @foo, which is what makes it die so messily.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://505912]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2024-03-29 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found