This is going to sound harsh, but go buy a book on Perl. You're asking extremely simplistic questions about array manipulations and data manipulations. You'll find that it's better to learn to fish than be given one.
------ We are the carpenters and bricklayers of the Information Age. Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement. | [reply] |