Yikes! If you're going to use eval do a better job of converting your strings to literals!
Better yet, don't use eval at all.
my %finish; for my $indexes (@start) { my $p = \\%finish; $p = \($$p->{$_}) for @$indexes; $$p = 1; }
Data::Diver hides that mess away.
In reply to Re^2: How to transform a matrix into a hash??
by ikegami
in thread How to transform a matrix into a hash??
by yocoim
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |