NAME

File::VirusScan::Engine::Command::Sophos::Savscan - File::VirusScan backend for scanning with Sophos Savscan

SYNOPSIS

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

DESCRIPTION

File::VirusScan backend for scanning using Sophos savscan command-line 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

Fully-qualified path to the 'savscan' binary.

INSTANCE METHODS

scan ( $pathname )

Scan the path provided using the savscan binary provided to the constructor. Returns an File::VirusScan::Result object.

DEPENDENCIES

Cwd, File::VirusScan::Result,

SEE ALSO

http://www.sophos.com

AUTHORS

Dianne Skoll (dfs@roaringpenguin.com),

Dave O'Neill (dmo@roaringpenguin.com),

Adam Lanier

Nicholas Brealey

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.