Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by Theo (Priest)
on May 02, 2004 at 04:04 UTC ( [id://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 ... )

Replies are listed 'Best First'.
Re: Re: What does the error 'Illegal division by zero' mean?
by jdporter (Paladin) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://349740]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-29 13:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found