This also helps, to make sure your calls to this subroutine are correct. Also your scalars would come as scalars to get them as references add '\' infront of '$'.# instead of # sub print_graph # try this sub print_graph (\@\@$$)
In reply to Re: passing multiple items to a subroutine
by Hena
in thread passing multiple items to a subroutine
by tommycahir
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |