Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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?

Replies are listed 'Best First'.
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 making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2016-06-28 09:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (355 votes). Check out past polls.