Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: bc.exe - trivial one-liner

by kaif (Friar)
on Jun 10, 2005 at 23:11 UTC ( #465715=note: print w/ replies, xml ) Need Help??

in reply to bc.exe - trivial one-liner

I personally am a fan of perl -ple'$_="> ".eval'. This is probably the most common script I write. Of course, your code above has the advantage of being transferrable to a system without Perl.

Comment on Re: bc.exe - trivial one-liner
Download Code
Replies are listed 'Best First'.
Re^2: bc.exe - trivial one-liner
by ady (Deacon) on Jun 15, 2005 at 08:36 UTC
    c.bat: perl -ple "$_='> '.eval"
    in my cmd shell.
    -- allan

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://465715]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2015-11-26 07:17 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (696 votes), past polls