Is this question related to the OPed question? If it is, it's vital for you to recognize that the format of the array elements in the second question
[1,\'Hello\']
(a reference to an anonymous array containing two elements: a number and a string) is significantly different from the format of the array elements in the OPed question
['1,2,\'hello\',\'aerf\'']
(a reference to an anonymous array containing one element: a mixed alphanumeric string). Once the structure of the elements of the anonymous array is nailed down (both in our understanding and in your own), useful help can be given.
Update: Also, you seem to be altering your posts without leaving any note in the altered post that a change has been made (something like this paragraph). Please see How do I change/delete my post? for site etiquette and protocol WRT such changes.
Update 2 (some days later): Just realized the point choroba was making here, that [1,\'Hello\'] doesn't even compile! I have to admit I don't really understand what you want (although you seem to have abandoned this thread, so I guess it doesn't matter).
Give a man a fish: <%-{-{-{-<
In reply to Re^3: How to create array from file
by AnomalousMonk
in thread How to create array from file
by Mjpaddy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |