title: Perl: string to an array reference?
body: <p>Say, there is a string <code>"[1,2,3,4,5]"</code>, how could I change it to an array reference as <code>[1,2,3,4,5]</code>? Using <code>split</code> and recomposing the array is one way, but it looks like there should be a simpler way.</p>