in a file1 i have statements like
-------------------------
strawberry red green rose
apple red rose
mango green
-------------------------
i want to convert this as
-------------------------
red strawberry apple
green strawberry mango
rose strawberry apple
-------------------------
and write the result in another file2.some said we have to use hash of hashes.i am new to perl.please any one help me!!
In reply to hash of hashes by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |