Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 chilling in the Monastery: (4)
As of 2015-07-04 19:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls