Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Some help with my project:

by dave_the_m (Monsignor)
on Jan 16, 2017 at 19:26 UTC ( [id://1179692]=note: print w/replies, xml ) Need Help??


in reply to Re: Some help with my project:
in thread Some help with my project:

That means ($avail+$used)=0
Due to precedence, it actually means $avail is zero. The OP probably meant to write
my $monit_percentual = ( $avail / ($avail+$used) ) * 100 ;

Dave.

Log In?
Username:
Password:

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

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

    No recent polls found