Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: bc.exe - trivial one-liner

by kaif (Friar)
on Jun 10, 2005 at 23:11 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://465715]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2024-04-19 07:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found