in reply to (Golf) Segfault Perl
Going through perlvar, I found this. It segfaults, depending on how exactly Perl was compiled, and maybe a few more things...
12345678901234567 perl -e'$^M=1;$x[1<<30]=2'
Thrill as memory leaks away! Laugh as Perl attempts to recover using a single byte of memory! (Cry if your Perl was compiled without this silly feature.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: (Golf) Segfault Perl
by Juerd (Abbot) on Apr 04, 2002 at 12:28 UTC | |
by japhy (Canon) on Apr 05, 2002 at 14:52 UTC | |
by MeowChow (Vicar) on Apr 05, 2002 at 20:06 UTC |