in reply to Beautiful Perl
While others might find it ugly, I think code like
is beautiful. It is a great example of lists, list slices, and using return values meaningfully.select((select(FH), $|=1)[0]);
I think we should try to find Perl's equivalent of the Euler equation for mathematics. For those of you not familiar with it, it shows the relationship of five "basic" elements of mathematics: e (the natural logarithm), i (the square root of -1), pi (the ratio of a circle's circumference to its diameter), 1, and 0. The equation is e(i * pi) + 1 = 0. Does Perl have something like this? Something that shows a relationship between some of the building blocks of the language?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Beautiful Perl
by BUU (Prior) on Mar 26, 2005 at 21:54 UTC | |
|
Re^2: Beautiful Perl
by djantzen (Priest) on Mar 27, 2005 at 00:19 UTC | |
by japhy (Canon) on Mar 27, 2005 at 03:07 UTC |