how do I do the worksheets writes outside of a for loop?Old:
New:$NAME = "BOB"; $worksheet_$NAME->write('A2', "$NAME is here");
$NAME = "BOB"; $worksheets{$NAME}->write('A2', "$NAME is here");
BTW, as for why symbolic references should be avoided, see the classic three part series by MJD: part 1 and part 2 and part 3.
In reply to Re^3: variable in variables
by eyepopslikeamosquito
in thread variable in variables
by ohgary
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |