in reply to Adding 2 + 2
The Doesn't completely use Perl solution. Last one, I promise.
--Chris
e-mail jcwren
(This should even work on Win32 with the cygwin stuff)#!/usr/local/bin/perl -w use strict; { my $v=2; print "Adding $v + $v = ", `echo $v $v + p | dc`; }
--Chris
In Section
Cool Uses for Perl