Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: A PerlQt Calculator

by Plankton (Priest)
on Jun 23, 2004 at 06:47 UTC ( #368954=note: print w/ replies, xml ) Need Help??


in reply to A PerlQt Calculator

Cool! I gotta learn more about Qt now. I did have problems installing Qt from via perl -MCPAN -eshell but was able to get it installed from by following the links you provided. I did have a problem doing 2 X 2 = ? But I really like your PerlQt Calc. ++


Plankton: 1% Evil, 99% Hot Gas.


Comment on Re: A PerlQt Calculator
Replies are listed 'Best First'.
Re^2: A PerlQt Calculator
by thunders (Priest) on Jun 23, 2004 at 14:34 UTC

    Oops, good catch. That was my mistake. The display was filtering out results with only one digit.

    changing the filter fixes that.

    $result =~ /^-?\d+\.?\d+$/ to $result =~ /^-?\d+\.?\d*?$/

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://368954]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2015-07-28 20:57 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 (259 votes), past polls