in reply to Can't use string ("...") as an ARRAY ref while "strict refs" in use at x.pl line ...

Tip #4 from the Basic debugging checklist:

use Data::Dumper; print Dumper(\%master);
This shows that %master is a simple hash, not a hash-of arrays as your code expects.

Perhaps you should change:

$master{$keyed}=@temp;

to:

$master{$keyed} = \@temp;
  • Comment on Re: Can't use string ("...") as an ARRAY ref while "strict refs" in use at x.pl line ...
  • Select or Download Code