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

Re^2: Simple Calculator

by jdhedden (Deacon)
on Jun 13, 2005 at 15:11 UTC ( [id://466257]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to RE: Simple Calculator
in thread Simple Calculator

This can be done in a one-liner:
perl -ple '$_ = "> " . eval'
which you can add to your .bashrc file using:
alias calc='perl -ple '\''$_ = "> " . eval'\'''
You can exit the loop with ^D.

Remember: There's always one more bug.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://466257]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.