The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

File::VirusScan::Engine::Command::FPROT::Fpscan - File::VirusScan backend for scanning with fpscan

SYNOPSIS

    use File::VirusScan;
    my $s = File::VirusScan->new({
        engines => {
                '-Command::FPROT::Fpscan' => {
                        command => '/path/to/fpscan',
                },
                ...
        },
        ...
}

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

Cwd, File::VirusScan::Result,

SEE ALSO

http://www.f-prot.com/

AUTHOR

Dianne Skoll (dianne@skoll.ca)

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.