but i'm not succeeding
Since you have not said (or shown) in what way you are not succeeding, we can only point you towards generic solutions such as perlform, printf, Text::Table, Template, etc. Hopefully one or other of those will give you the output you need.
While you're at it, you might want to consider one of the many XML modules (but not XML::Simple) for parsing the input.
In reply to Re: aligning text
by hippo
in thread aligning text
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |