Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: What does the error 'Illegal division by zero' mean?

by Theo (Priest)
on May 02, 2004 at 04:04 UTC ( #349740=note: print w/ replies, xml ) Need Help??


in reply to What does the error 'Illegal division by zero' mean?

In addition to $n never being initialized, what is setting $1?
In my very limited experience, that variable is set by parens () in a regexp, but I see no regexp.
What happens if you 'use warning'?

-Theo-
(so many nodes and so little time ... )


Comment on Re: What does the error 'Illegal division by zero' mean?
Re: Re: What does the error 'Illegal division by zero' mean?
by jdporter (Canon) on May 02, 2004 at 04:46 UTC
    That's not a $1, that's an $l.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2015-07-06 06:33 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 (70 votes), past polls