Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 cooling their heels in the Monastery: (6)
As of 2014-12-29 00:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls