in reply to Re: Why do I get a "used only once" warning here?
in thread Why do I get a "used only once" warning here?
I was not aware that I can use 'our' this way inside a block, and to my surprise, no warning appears! Thanks for the suggestion!
UPDATE: I did not look closely enough. Your solution would not work, because
is syntactically invalid. After all, you can only put the name of a variable after "our", not a hash element.our $v{...}=...
|
|---|