in reply to Reading arrays

This seems to work well. Would I be able to manipulate the data? I've output the arrays like this:

print @right;

It simply runs together. How would I add 2022 and 6 for example or 2002 and 78 or some other calculations?

Cheers

Replies are listed 'Best First'.
Re2: Reading arrays
by dragonchild (Archbishop) on Apr 08, 2002 at 19:45 UTC
    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.