ho un file in questo formato
facendocodice:DeviceMode: 0600 RingsBeforeAnswer: 1 SpeakerVolume: off GettyArgs: "-h %l dx_%s" LocalIdentifier: "MS Informatica Srl" TagLineFont: etc/lutRS18.pcf TagLineFormat: "From %%l|%c|Page %%P of %%T"
quello che mi serve è un array con parametro e valore,codice:if (/^(\S+)\s+(\S+)?/) { push(@rv, { 'parametro' => $1, 'valore' => $2 } ); }
riesco a ricavare quasi tutto
tranne i valore come ad esempio "MS Informatica Srl"
che mi diventa "MS come posso fare per fargli prendere tutta la stringa?
quindi sia nel caso la stringa sia tra " " che senza ?


Rispondi quotando