> How to get complete name of founded virus correctly ? > I used this line in Q-S: > > if ($DD =~ /\w(.*) infected with (.*)\n/) { > > With this I only get the first part of name on first line. > So I get only 'Wi', which is not good... > I don't know how to get the second part from the second line. > > Please help, I will then send this suport to Q-S distro. > > Thanks. > > Matus Hrusovsky > [EMAIL PROTECTED]
Try: $DD =~ s/\n//g; This should strip out any newlines from $DD. -- Ed. _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general