Syntactic Confectionery Delight | |
PerlMonks |
Re: How to burn 100 megabytes in one line and still get the wrong answerby Abigail-II (Bishop) |
on May 14, 2004 at 16:36 UTC ( [id://353415]=note: print w/replies, xml ) | Need Help?? |
Even if it did compile, it isn't that lethal. In fact, even if you type:
perl will try to allocate a large piece of memory, and unless you have the memory for it, the malloc will fail, causing Perl to quickly segfault. And even if you do have the memory, at worst you have a temporary slowdown of your system. Big deal. Far more lethal are mistypings in open: (assuming you're running this as root). Abigail
In Section
Meditations
|
|