My daily contribution.

Jul 15, 2004 23:17

Here's a simple calculator program for your enjoyment:

while (<>) {$i = $_;unless($i){last}$o = eval($); print "$o\n";}

Oh, the wonders of Perl.
Previous post
Up