Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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
Re^2: bc.exe - trivial one-liner
by ady (Deacon) on Jun 15, 2005 at 08:36 UTC
    Or
    c.bat: perl -ple "$_='> '.eval"
    in my cmd shell.
    -- allan

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2014-10-02 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (45 votes), past polls