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

I see. Pardon me, I assumed anything with a :: was a module.I still do not know how to integrate it though. What I meant for the file name was I used a variable in my second part but I'm not sure how the "next unless -f and /\.log$/" has a variable that I can use for my code in the second part.

Replies are listed 'Best First'.
Re^7: Opening multiple log files
by kcott (Archbishop) on Jun 16, 2015 at 02:48 UTC

    My responses so far have assumed you wrote the original code. Your subsequent replies seem to suggest this is not the case. There is a lot of very basic code that you do not appear to understand.

    That's all fine. Before I saw any Perl code (20+ years ago), I didn't know any of this either. However, you do need a basic foundation before anything more advanced is likely to make much sense.

    I strongly recommend you read "perlintro -- a brief introduction and overview of Perl". This will explain much of the beginner concepts; and it provides links to more detailed information for topics introduced. It's not a particularly long document and I suggest you read it in full: it should bring some clarity to the advice you've been given (by myself and others) in this thread.

    -- Ken