Is it possible to read multiple files into a file handle in Perl?

Posted by rarbox on Stack Overflow See other posts from Stack Overflow or by rarbox
Published on 2010-03-29T09:37:11Z Indexed on 2010/03/29 20:13 UTC
Read the original article Hit count: 276

Filed under:
|

I have a few log files like these:

  • /var/log/pureftpd.log
  • /var/log/pureftpd.log-20100328
  • /var/log/pureftpd.log-20100322

Is it possible to load all of them into a single filehandle or will I need to load each of them separately?

© Stack Overflow or respective owner

Related posts about perl

Related posts about filehandle