A couple of comments;
use strict; use warnings;
As for your question, if I understand it correctly, you need to fix the print statement to refer to your array variable, as written, it is simply printing the text that is enclosed in the quotes.
print "name = $LINEREC[0]\n"; print "postcode = $LINEREC[3]\n";
Scott
In reply to Re: get array number
by helphand
in thread get array number
by darrengan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |