It would be insane to try and code like that.
No it wouldn't. I strongly suggest you look at Erudil's
camel code and
how it works
to find some creative ways to use eval.
You code is very nice looking, it's shame it doesn't run.
You have enough room on the first edge of the cube
to stick in something like s/\s+//g;eval that would
transform the rest of the code into something that actually
Naturally it's not that easy, because you have to define
$_ (which will be after, since it's the rest of
the cube). I am sure you can find a way to keep your code
cube-shaped and make it run.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||