in reply to Passing array pointer through script input
`perl myscript.pl \@arr` would actually pass a literal @arr to myscript.pl.
To pass any data structure except strings you first have to convert them to string, by serializing them.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Passing array pointer through script input
by ikegami (Patriarch) on Aug 21, 2008 at 21:20 UTC | |
by moritz (Cardinal) on Aug 21, 2008 at 21:26 UTC | |
by ikegami (Patriarch) on Aug 21, 2008 at 22:14 UTC |