Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2016-06-25 17:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (326 votes). Check out past polls.