From your past code, you appear to know how to open files. What you seem to be missing is that you should probably use split to get the data you want and then test the first element of the array that's created. I started writing a skeleton of the program, only to realize that I'm not sure that this is appropriate. If you do need assistance with homework, that's fine. Just let us know so that we can offer advice, rather than answers. Otherwise, you're cheating yourself in addition to your professor.
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
In reply to (Ovid - homework?) Re: hash/array
by Ovid
in thread hash/array
by malaga
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |