in reply to Re^2: variable scopes in Excel::Writer::XLSX
in thread variable scopes in Excel::Writer::XLSX
People seem to be misunderstanding the point of my question..
Because what you intended is not clear. Closures in perl are not written like that. And you must have reason for what you are doing.
You are calling a variable that is outside a function within the function, to assign to it an object. To what end? Oh I just want to call it. Is that not funny? Please take a look at the various suggestions already given. The solutions you wanted might be somewhere in the middle, if not already given.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: variable scopes in Excel::Writer::XLSX
by johnrcomeau (Novice) on May 25, 2013 at 18:22 UTC | |
by Anonymous Monk on May 25, 2013 at 23:42 UTC |