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

Perl Script for reading a mathematical expression

by rahul02 (Initiate)
on Jan 29, 2014 at 13:42 UTC ( #1072511=perlquestion: print w/replies, xml ) Need Help??
rahul02 has asked for the wisdom of the Perl Monks concerning the following question:

i want to know the basic idea for writing a perl script which will read a mathematical expression from user, evaluate the result and print on the screen.
  • Comment on Perl Script for reading a mathematical expression

Replies are listed 'Best First'.
Re: Perl Script for reading a mathematical expression
by moritz (Cardinal) on Jan 29, 2014 at 14:18 UTC
Re: Perl Script for reading a mathematical expression
by LanX (Chancellor) on Jan 29, 2014 at 13:58 UTC
    Googling the text of your homework should easily give you the basic ideas.

    Please show some effort. :)

    update

    You are welcome to show code examples and ask more detailed questions.

    @consideration!

    The OP is not empty but malformed

     <i want to know the basic idea for writing a perl script which will read a mathematical expression from user, evaluate the result and print on the screen. ></i>

    should be edited not reaped.

    Cheers Rolf

    ( addicted to the Perl Programming Language)

Re: Perl Script for reading a mathematical expression (crosspost)
by LanX (Chancellor) on Jan 31, 2014 at 00:08 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1072511]
Approved by Corion
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2016-12-10 22:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (165 votes). Check out past polls.