Hi folks,
In all the years I have worked with perl I have managed to figure out how to slurp into a variable and an array but I need to create a script that reads an external file that contains an anonymous array and then work with it. Here's an example....
The file "data.txt" would contain this..
$VAR1 = [
'Snow',
'White',
'1313 Mockingbird Lane']
How would I read this in to an array to get this...
@array=("Snow","White","1313 Mockingbird Lane")
My apologies because I know this is probably so simple...