Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2004 13:31:33 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Parv <parv@pair.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: command-line calculator?
Message-ID:  <20040625132917.U21716@wonkity.com>
In-Reply-To: <20040625183429.GA10616@moo.holy.cow>
References:  <36fb6de804062508417917d0b8@mail.gmail.com> <20040625183429.GA10616@moo.holy.cow>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 25 Jun 2004, Parv wrote:

>  Perl:
>    perl -e 'print +(17 * 36)'

Or just

      perl -e 'print 17 * 36'

but for neatness

      perl -e 'print 17 * 36, "\n"'

-Warren Block * Rapid City, South Dakota USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040625132917.U21716>