Dan Anderson wrote:
There are many references , what line number does it say
is evil and which line below is that?
Thanks for your help, I have put a -right here - in the code...
}
$SQL .= \n;
}
#-right here--
}
R. Joseph Newton wrote:
There are many references , what line number does it say
is evil and which line below is that?
Thanks for your help, I have put a -right here - in the code...
}
$SQL .= \n;
}
#-right here--
I am using the following code and keep getting a message that says
Can't use an undefined value as a hash reference. I'm completely lost
trying to debug it because the line in question is a }. I was wondering
if any guru could spot some newbie idiocy in my code. I am, of course,
using strict
I am using the following code and keep getting a message that
says Can't use an undefined value as a hash reference. I'm
completely lost trying to debug it because the line in
question is a }. I was wondering if any guru could spot some
There are many references , what line number does
On Wed, 2003-11-12 at 18:30, Dan Muey wrote:
I am using the following code and keep getting a message that
says Can't use an undefined value as a hash reference. I'm
completely lost trying to debug it because the line in
question is a }. I was wondering if any guru could spot some
On Nov 12, Dan Anderson said:
while (my %hash = %{ shift (@columns) }) {
...
}
Here is the problem. When @columns is empty, it returns undef, and you
can't do %{ +undef }. So, do this:
while (my $href = shift @columns) {
# then use $href-{...}
# or do:
On Wed, 12 Nov 2003 18:29:01 -0500, Dan Anderson wrote:
I'm completely lost trying to debug it because the line in question is a
}.
Well. I'm totally lost, too. There's a lot of things in the code which
you can improve to make it more fail-safe, but for now: What line are you
referring to?