NAME
File::VirusScan::Engine::Command::FPROT::FPROT - File::VirusScan backend for scanning with fprot
SYNOPSIS
use File::VirusScan;
my $s = File::VirusScan->new({
engines => {
'-Command::FPROT::FPROT' => {
command => '/path/to/fprot',
},
...
},
...
}
DESCRIPTION
File::VirusScan backend for scanning using F-PROT's commandline scanner
This class inherits from, and follows the conventions of, File::VirusScan::Engine::Command. See the documentation of that module for more information.
CLASS METHODS
new ( $conf )
Creates a new scanner object. $conf is a hashref containing:
- command
-
Required.
Path to scanner executable.
INSTANCE METHODS
scan ( $pathname )
Scan the path provided using the configured command.
Returns an File::VirusScan::Result object.
DEPENDENCIES
SEE ALSO
AUTHOR
Dianne 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 terms of the GNU General Public License, version 2, or (at your option) any later version.