There's more than one way to do things | |
PerlMonks |
Re: Printing from three arraysby BillKSmith (Monsignor) |
on Sep 26, 2019 at 22:47 UTC ( [id://11106774]=note: print w/replies, xml ) | Need Help?? |
You should start every perl program with:
The purpose is to help you solve you own problems. In this case, you will get several error messages. Some of them will not make any sense to you. Fix the easy ones and try again. You probably have fixed more than you thought. You may have also revealed a few more errors. Keep fixing errors a few at a time until it runs. If you really get stuck, ask for explanation of your remaining errors. Your current script probably will not run correctly even when it does run. You may have to ask for help again. It is much easier for the monks to find a fix you logic errors when they are not masked by other errors. Another hint is to use meaningful variable names. Note the improvement in this solution.
Bill
In Section
Seekers of Perl Wisdom
|
|