in reply to Out Of Memory
I suspect you may be able to solve your issue by processing the individual records rather than slurping the entire input file at once, but without code and sample input we can't really provide you with more than generalisations.
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
In Section
Seekers of Perl Wisdom