(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`; }
In reply to (jcwren) RE: Adding 2 + 2
by jcwren
in thread Adding 2 + 2
by merlyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |