L
laredotornado
Hi,
I want to create a function that takes a hash (by reference) and a
scalar as arguments. I'm trying ...
sub add_to_block_hash
{
my (%blocks, $curBlock) = @_;
print "curblock: $curBlock\n"; # line 33
....
add_to_block_hash(\%blocks, $curBlock);
but I'm getting the error, "Use of uninitialized value in
concatenation (.) or string at test.pl line 33" in which line 33 is
marked above. How do I correct this? THanks, - Dave
I want to create a function that takes a hash (by reference) and a
scalar as arguments. I'm trying ...
sub add_to_block_hash
{
my (%blocks, $curBlock) = @_;
print "curblock: $curBlock\n"; # line 33
....
add_to_block_hash(\%blocks, $curBlock);
but I'm getting the error, "Use of uninitialized value in
concatenation (.) or string at test.pl line 33" in which line 33 is
marked above. How do I correct this? THanks, - Dave