in reply to Re: Opening multiple log files
in thread Opening multiple log files

I have found many solutions using either one of those two ways, however I've done trial and error with my codes and can't seem to be able to create the files. Is there an example you could show me using my codes?

Replies are listed 'Best First'.
Re^3: Opening multiple log files
by soonix (Chancellor) on Jun 15, 2015 at 08:28 UTC
    glob gives you only existing file names. For new files that you want to have created, you have to give the names yourself, e.g. with
    my @list_files = qw/first.log second.log third.log/;
    forget it, obviously hadn't enough coffee yet