Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Re: (Golf) Segfault Perl

by japhy (Canon)
on Apr 05, 2002 at 14:52 UTC ( [id://156936]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: (Golf) Segfault Perl
in thread (Golf) Segfault Perl

Shave another byte: $x[~0/2]=1

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker, who'd like a (from-home) job
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

Replies are listed 'Best First'.
(MeowChow) Re4: (Golf) Segfault Perl
by MeowChow (Vicar) on Apr 05, 2002 at 20:06 UTC
    Interesting:
      
    . . (root@tiger:~)$ perl -e'$x[2147483645]++' Out of memory! (root@tiger:~)$ perl -e'$x[2147483646]++' Out of memory! (root@tiger:~)$ perl -e'$x[2147483647]++' Segmentation fault (root@tiger:~)$ perl -e'$x[2147483648]++' Modification of non-creatable array value attempted, subscript -214748 +3648 at -e line 1. (root@tiger:~)$ perl -e'$x[2147483649]++' Modification of non-creatable array value attempted, subscript -214748 +3647 at -e line 1. . .
       MeowChow                                   
                   s aamecha.s a..a\u$&owag.print

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-19 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found