$TheLine = "REFERENCE z:/bin/JAnalyzer/fred.lst package/fred.lst"; $TheLine =~ /(\S*)\s+(\S*)\s+(\S*)\s*/; print "1 is $1 and 2 is $2 and 3 is $3\n"; $TheLine = 'REFERENCE "z:/bin/JAnalyzer/Justice Analyzer Users Guide.pdf" "package/Justice Analyzer Users Guide.pdf"'; $TheLine =~ /(\S*)\s+(\S*)\s+(\S*)\s*/; print "1 is $1 and 2 is $2 and 3 is $3\n"; #hmmm