in reply to system function

That code works for me, after changing @Logs to @files.

What does "get a failure" look like?

Replies are listed 'Best First'.
Re^2: system function
by raj8 (Sexton) on Mar 27, 2008 at 13:23 UTC

    Global symbol "@files" requires explicit package name at linker.pl line 3. Global symbol "@files" requires explicit package name at linker.pl line 5. Execution of linker.pl aborted due to compilation errors.

      That error has nothing to do with system; it tells you you haven't declared @files.

      In the code you show, you are setting @Logs but then trying to use @files. Since you didn't get an error on @Logs, I presume you declared it, and where you have @files you should change it to @Logs.