Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Converting Column Into Row

by Jasper (Chaplain)
on Jun 20, 2006 at 13:13 UTC ( #556384=note: print w/ replies, xml ) Need Help??


in reply to Converting Column Into Row

Or a regular expression..

$_ = "A = 1 A = 2 A = 3 B = 5 B = 1 B = 7 "; 1 while s/((\w+) = .+) \2 = (.+)/$1, $3/;


Comment on Re: Converting Column Into Row
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://556384]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (17)
As of 2014-07-22 15:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (117 votes), past polls