print "$graph";
There's no $graph variable in that scope. Did you mean @graph instead?
You define a useless my $graph variable in the loop header, but that only exists until the end of the block.
In reply to Re^7: Writing an array inside an array
by moritz
in thread Writing an array inside an array
by talha099
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |