in reply to How to make array references from scalar value

You need the single quotes inside the double quotes because the stuff inside the double quotes must be valid Perl code. If your module or script has use strict, [a,b,{perl=>monk}] is not a valid expression. But ['a','b',{perl=>'monk'}] and ['a','b',{'perl'=>'monk'}] are.

Best, beth