NAME
Email::VirusScan::Engine::ClamAV::Clamscan - Email::VirusScan backend for scanning with clamscan
SYNOPSIS
use Email::VirusScanner;
my $s = Email::VirusScanner->new({
engines => {
'-ClamAV::Clamscan' => {
command => '/path/to/clamscan',
},
...
},
...
}
DESCRIPTION
Email::VirusScan backend for scanning using ClamAV's clamscan command-line scanner.
This class 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 'clamscan' binary.
INSTANCE METHODS
scan_path ( $pathname )
Scan the path provided using the clamscan binary provided to the constructor. Returns an Email::VirusScan::Result object.
DEPENDENCIES
Cwd, Email::VirusScan::Result,
SEE ALSO
AUTHOR
David Skoll (dfs@roaringpenguin.com) Dave O'Neill (dmo@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.