Dear fellow monks,
I have this script that reads a rather lengthy text file line by line and extracts information from it.
While developing I want to see the values that are put into different variables at the time, so I print them out to STDOUT.
So far everything is fine.
But I do get a lot of "Use of uninitialized value in concatenation (.) or string" warnings because the values are in fact uninitialized.
The way I got rid of the warnings is:
{
no warnings "uninitialized";
print "var1=$var1 -- var2=$var2 -- var3=$var3\n";
}
This looks just a bit clumsy to me. Is there a better way to achieve this?
si_lence