in reply to Re^3: Having trouble reading in a hash from a referenced array
in thread Having trouble reading in a hash from a referenced array
Quite right you are.
But I feel that making the arrow optional between two subscripts is confusing if Perl still makes a distinction between a reference and the data structure it refers to. I guess the rule is simple: PDS (Perl Data Structure=hash,array) can not contain arrays but refs or scalars. So drop the arrow notation. Hmmmm that might be confusing for a new-comer as it may suggest that arrays (not arrayref) is allowed inside a PDS.
That's a general Perl comment, not about what you wrote.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Having trouble reading in a hash from a referenced array
by jo37 (Curate) on Dec 19, 2020 at 14:09 UTC | |
|
Re^5: Having trouble reading in a hash from a referenced array
by LanX (Saint) on Dec 19, 2020 at 01:04 UTC | |
by LanX (Saint) on Dec 19, 2020 at 01:41 UTC |