"... I won't be using modules ..."
I not certain what you're getting at here. The link to File::Glob was for documentation to read, not a module to use. The link to glob() explains this. Besides, you're already using three modules:
use strict; use warnings; use POSIX 'strftime';
"... is there anyway anyway to get the file name as well?"
The filename that -f operates on? The filename that /\.log$/ is attempting match?
-- Ken
In reply to Re^5: Opening multiple log files
by kcott
in thread Opening multiple log files
by hahazeeq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |