in reply to Can't use string as an ARRAY ref
$princ is an AoA, an array whose elements are array refs. You are passing one of those array refs to add_more, which you store as $data. However, $data->[0] is a scalar, not an array ref, hence the error message.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Can't use string as an ARRAY ref
by Anonymous Monk on Aug 21, 2015 at 15:25 UTC | |
by GotToBTru (Prior) on Aug 21, 2015 at 15:31 UTC | |
by Anonymous Monk on Aug 21, 2015 at 15:40 UTC | |
by poj (Abbot) on Aug 21, 2015 at 18:13 UTC | |
by Anonymous Monk on Aug 21, 2015 at 22:26 UTC | |
by Anonymous Monk on Aug 24, 2015 at 13:07 UTC | |
|