Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Converting Column Into Row

by Jasper (Chaplain)
on Jun 20, 2006 at 13:13 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://556384]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-25 17:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found