in reply to export variable outside foreach
Perhaps your input file has a final line consisting of a newline only, or line that has no fourth field? That would give the behaviour you describe.
In Section
Seekers of Perl Wisdom
in reply to export variable outside foreach
Perhaps your input file has a final line consisting of a newline only, or line that has no fourth field? That would give the behaviour you describe.