in reply to Getting "un initialized value" error though variable is initialized. Please help.
It's a "warning," not an "error."
andSince "formatting" was initially an issue, suggest you consider using indentation -- in the interest of readability. This particular snippet isn't hard, of course, but as you create more complex code, white space can be a huge help.
|
|---|