SPUG: flip-flops
Michael R. Wolf
MichaelRunningWolf at att.net
Wed Feb 13 10:14:33 CST 2002
Adam Monsen <adamm at wazamatta.com> writes:
> On 12/02/02 19:48 -0500, Michael R. Wolf wrote:
> [...]
> > perl -n -e '$body .= $_ if /^$/ .. eof();' \
> > -e '$head .= $_ if (1 .. /^$/);' \
> > -e 'END{print $head, "\n", "="x40, "\n", $body;}'
> [...]
>
> That's cool.
>
> I'm currently taking a C class, and it's fun as hell to
> prototype the smaller problems in Perl one-liners. It is
> actually helpful, too, to start with extremely terse Perl,
> expand [loops, range/flip-flop operations, etc] into
> verbose Perl, then rewrite it in C.
So, you're a deconstructionist[1]?
0 \
-- )
0 /
It seems that your method of learning C (expanded Perl),
is actually my motivation for learning Perl (compressed C).
We're on opposite sides of the same circle.
It's a yin-yang thin-thang....
_________
, ` `
/ \ \
/ X :-)-: \
| / |
| / |
\ :-(-: 0 .
\ \ /
\______\_____/
Not to be outdone by Colin's ASCII art!!!
Enjoy,
Michael
[1] deconstruction
n : a philosophical theory of criticism (usually of
literature or film) that seeks to expose deep-seated
contradictions in a work by delving below its surface
meaning [syn: deconstructionism]
Source: WordNet ® 1.6, © 1997 Princeton University
--
Michael R. Wolf
All mammals learn by playing!
MichaelRunningWolf at att.net
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Subscriptions; Email to majordomo at pm.org: ACTION LIST EMAIL
Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
For daily traffic, use spug-list for LIST ; for weekly, spug-list-digest
Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org
More information about the spug-list
mailing list