![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re^4: Print contents of text file line by lineby TonyNY (Beadle) |
on Jun 25, 2018 at 13:54 UTC ( #1217360=note: print w/replies, xml ) | Need Help?? |
So I corrected my code and added this to create an array: my @line = <$fh>; how can I add an if statement to check if the 7th element of the array does exist? I've tried something like this but it did not work:
Thanks,
In Section
Seekers of Perl Wisdom
|
|