in reply to Coding Errror
Secondly, you don't have a syntax or run-time error, you have a warning. What htat means is that some variable you're attempting to use in "" is set to undef, not '' as you might think.
Doing a my $varname; just allocates the name ... it doesn't initialize it to a defined value. So, if nothing was assigned to $category (for instance), then that's what would cause your warning.
------
We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
|
|---|