Does anyone know what would cause the following warning and how to get rid of it?
"Use of uninitialized value in concatenation (.) or string"
I am using Strict in my module.
It happens during the following code:
open (INPUT, "expenses"
|| die "Error opening expense_categories";
while (<INPUT>) {
chomp;
my($date,$category,$amount) = split (/~/);
print " #error happens here
<tr> <td>$date</td>
<td>$category</td>
<td>\$$amount</td>
</tr>";
}
close (INPUT);
"Use of uninitialized value in concatenation (.) or string"
I am using Strict in my module.
It happens during the following code:
open (INPUT, "expenses"
while (<INPUT>) {
chomp;
my($date,$category,$amount) = split (/~/);
print " #error happens here
<tr> <td>$date</td>
<td>$category</td>
<td>\$$amount</td>
</tr>";
}
close (INPUT);