byoungvt has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monkeys (hmmm..),
I understand I am aimlessly walking over the end of my string(desired),
but what is this "Use of uninitialized value in concatenation (.)" bit ???
Is substr returning a null and that is flagged??? I am using strict.....
local_hash,local_string and position are all defined/inited w/ my prior to this...
my $temp="";
my $final_string="";
while($temp=substr($local_string,$position,3))
{
$final_string.=$local_hash{$temp};
$position=$position + 3;
}
return $final_string;
}
Use of uninitialized value in concatenation (.) or string at ./stricttrans.pl line 321, <STDIN> line 4.
substr outside of string at ./stricttrans.pl line 319, <STDIN> line 4.