Thanks for the regex, but that wasn't quite what I needed, it's functional 
but I still don't know how it works !

$line =~ s/^\s*(.+?)\s<(.+?)>,*/$1, $2/;

OK so what does the $1 and $2 mean , what are they pointing to and how do I 
manipulate them...
and what does the $& thingy do as well.

Much appreciate and explanation and if someone can point me to the part in 
perldoc where this is explained I would be grateful, having read the regex, 
and s/// entries, and still none the wiser for the above.


Michael Carmody
MDU, Public Health Lab
Dept. of Microbiology and Immunology
The University of Melbourne, Parkville


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to