Would you recommend me using $graph or @graph?
Use the @ sigil. It gives you several advantages: it behaves sensibly in scalar context, and the syntax for working with it less convoluted than reference syntax.
In reply to Re^9: Writing an array inside an array
by moritz
in thread Writing an array inside an array
by talha099
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |