in reply to Modification of a read-only value attempted
That's supposed to be the line causing this error?
No way...
Help us to help you by providing more insight.
the only possibility I see is auto-vivification of non existent entry "creden" provided $response[$i][$j] is read-only. (if that's even possible)
A prior check would solve this!
though the error messages don't match.
DB<72> $a{1}=\1 DB<73> use warnings; say $a{1}{foo}{bar} Not a HASH reference at (eval 81)[c:/Perl_524/lib/perl5db.pl:737] line + 2.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Modification of a read-only value attempted (Readonly + autovivification)
by LanX (Saint) on Feb 01, 2021 at 14:58 UTC | |
|
Re^2: Modification of a read-only value attempted
by chandantul (Scribe) on Feb 01, 2021 at 15:14 UTC | |
by LanX (Saint) on Feb 01, 2021 at 15:17 UTC | |
by ikegami (Patriarch) on Feb 01, 2021 at 21:11 UTC | |
by LanX (Saint) on Feb 01, 2021 at 21:17 UTC | |
by chandantul (Scribe) on Feb 01, 2021 at 21:31 UTC | |
|