Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 perusing the Monastery: (6)
As of 2014-09-23 06:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (210 votes), past polls