in reply to Using Text::Balanced
When it delimits at " the first thing it retrieves is "" then 'this' then the last pair of qoute. Then the remaining elements are fine. Try to format your input like this:{""this"" "line" "has" "four"}
To make it work for double " try a find and replace on "" with "{"this" "line" "has" "four"}
=~ s/""/"/g;
|
|---|