I'm kind of stumped on this one. I'm trying to parse a file that has data like so:
"1111 Some random descriptive text can have numbers and letters",
// :property1.Some description
// :property2.A different description
// :property3.Yet another
"2222 More random text here",
// :property1.Some description
// :property1.A different description
// :property2.Yet another description
// :property3.Yet another
I'm going to parse this and create html files.
I currently have it in array after doing:
@array = <FILE>;
#Put it in a single long string:
$long_string = join("",@array);
#Then trying to split it with the following regex:
@split_array = split(/\"\d{4}.+",/,$long_string);
I'm planning to somehow to save the match string and correlate it with the property fields somehow...
Just really doubting my methods now..