NAME
Email::VirusScan::Engine::CommandAntivirus - Email::VirusScan backend for scanning with Command Antivirus
SYNOPSIS
use Email::VirusScanner;
my $s = Email::VirusScanner->new({
engines => {
'-CommandAntivirus' => {
command => '/path/to/scan/command',
},
...
},
...
}
DESCRIPTION
Email::VirusScan backend for scanning using Authentium's Command Antivirus command-line scanner.
Email::VirusScan::Engine::CommandAntivirus inherits from, and follows the conventions of, Email::VirusScan::Engine. See the documentation of that module for more information.
CLASS METHODS
new ( $conf )
Creates a new scanner object. $conf is a hashref containing:
- command
-
Fully-qualified path to the scan command.
INSTANCE METHODS
scan_path ( $pathname )
Scan the path provided using the command provided to the constructor. Returns an Email::VirusScan::Result object.
DEPENDENCIES
IO::Socket::UNIX, IO::Select, Scalar::Util, Cwd, Email::VirusScan::Result,
AUTHOR
Dave O'Neill (dmo@roaringpenguin.com)
David Skoll (dfs@roaringpenguin.com)
LICENCE AND COPYRIGHT
Copyright (c) 2007 Roaring Penguin Software, Inc.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.