http://www.perlmonks.org?node_id=990939


in reply to Re: Removal of values in array from array list
in thread Removal of values in array from array list

When I do that I get the error message:"Cant use string ("...") as an ARRAY ref while strict refs in use.

anyway I updated the post to give more insight into the question.

  • Comment on Re^2: Removal of values in array from array list

Replies are listed 'Best First'.
Re^3: Removal of values in array from array list
by ikegami (Patriarch) on Sep 17, 2012 at 05:21 UTC

    You were very vague about your input format. I assumed you meant:

    my %checkfrom = ( Meat => [qw( Fish Apple Pork Bacon )], Fruit => [qw( Apple Pie Orange Beef )], );