|Perl Monk, Perl Meditation|
Re: Swapping names of list while keeping the contents as it is.by johngg (Abbot)
|on Aug 30, 2012 at 22:13 UTC||Need Help??|
Another method that reads the data in paragraph mode, splits into first element and remaining elements within lines in one map then swaps the first elements of the two lines and rejoins things up in a second, finally joining the pairs of lines into paragraphs again.
I hope this is of interest.