in reply to Data extraction from text file
So you want to
- open a file
- read a series of records from the file (No guaranteed unique field, so perhaps an array of arrays? or an array of hashes might be more suitable)
- Print a fixed field width record from each array entry.
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
|
---|
In Section
Seekers of Perl Wisdom