in reply to newbie parsing question
If you want to be really neat you could replace the [^"] by the list of characters valid in filenames.use strict; my $TheLine = 'REFERENCE "z:/bin/JAnalyzer/Justice Analyzer Users Guid +e.pdf" "package/Justice Analyzer Users Guide.pdf"'; my @Files= $TheLine=~m/"([^"]*?)"/g; print join "\n", @Files;
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
|
|---|