in reply to How do I create and pass an array of arrays to other modules
Your variable is called '@arrays', but you print '$array[0]' etc. -- which is a different variable. Try:
print $arrays[0];
This is an example of where coding with use strict would have helped you.
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do I create and pass an array of arrays to other modules
by gerry (Sexton) on Aug 19, 2005 at 20:59 UTC |