in reply to Re: Scanning multiple files from Snort rules one by one and extracting a particular part to another file - File Handling
in thread Scanning multiple files from Snort rules one by one and extracting a particular part to another file - File Handling

Laurent_R: ...From looking at your directory paths, you're working on Windows. The ls command is a Unix system command, it will not work under Windows. You should use Perl internal commands rather than system calls whenever possible. Try this: ...

FWIW, even unix system commands can be available for windows , ls.exe , tar.exe ... not uncommon with perl programmers

  • Comment on Re^2: Scanning multiple files from Snort rules one by one and extracting a particular part to another file - File Handling

Replies are listed 'Best First'.
Re^3: Scanning multiple files from Snort rules one by one and extracting a particular part to another file - File Handling
by Laurent_R (Canon) on Jul 22, 2015 at 09:35 UTC
    Yes, sure, you're right, it can be available for Windows, but that requires some specific software installation and it is usually not available on a common (or fresh) Windows installation.