in reply to Converting a String to Array Reference

eval can help you, but is a security risk if it's not actually just an array reference. There's also a CPAN module which parses such strings safely, but I can't remember the name right now. Search the CPAN might help you.
  • Comment on Re: Converting a String to Array Reference