Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: solution for the problem Illegal division by zero at throughput.pl line 36, <DATA> line 4. at throughput.pl line 36

by toolic (Bishop)
on Jul 20, 2016 at 17:21 UTC ( [id://1168153]=note: print w/replies, xml ) Need Help??


in reply to solution for the problem Illegal division by zero at throughput.pl line 36, <DATA> line 4. at throughput.pl line 36

I see two places where you perform a division, and both simply divide by $granularity. My guess is that you didn't provide a 3rd argument to your throughput.pl command or the value you provided resolves to 0.

Basic debugging checklist

Writeup Formatting Tips

  • Comment on Re: solution for the problem Illegal division by zero at throughput.pl line 36, <DATA> line 4. at throughput.pl line 36
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-25 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found