Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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/;

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 exploiting the Monastery: (5)
As of 2016-09-28 23:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (542 votes). Check out past polls.