Thanks for the help
Lessons learned as a beginner:
1) Never write codes when you are sleepy.
2) Always use strict/warnings pragma, that will be extremely helpful
incase you can't obey previous rule.
Hope thats important for every beginner.
On 5/11/05, Paul Johnson <[EMAIL PROTECTED]> wrote:
-Original Message-
From: Madhur Kashyap [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 10, 2005 12:34 PM
To: beginners@perl.org
Subject: Urgent Help with functions
Can someone help me out with this simple code? It gives an error saying:
Illegal division by zero at test.pl line 4.
Exit 255
On Tue, May 10, 2005 at 10:03:57PM +0530, Madhur Kashyap wrote:
> Can someone help me out with this simple code? It gives an error saying:
>
> Illegal division by zero at test.pl line 4.
> Exit 255
>
> Code:
> -
> #!/usr/local/bin/perl
> sub test {
> =
On 5/10/05, Larsen, Errin M HMMA/IT <[EMAIL PROTECTED]> wrote:
> > -Original Message-
> > From: Madhur Kashyap [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, May 10, 2005 11:34 AM
> > To: beginners@perl.org
> > Subject: Urgent Help with functions
> >
> >
> > Can someone help me out with this
> -Original Message-
> From: Madhur Kashyap [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 10, 2005 11:34 AM
> To: beginners@perl.org
> Subject: Urgent Help with functions
>
>
> Can someone help me out with this simple code? It gives an
> error saying:
>
> Illegal division by zero at t