David F. Skoll > File-VirusScan-0.102 > File::VirusScan::Engine::Command::ClamAV::Clamscan

Download:
File-VirusScan-0.102.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

File::VirusScan::Engine::Command::ClamAV::Clamscan - File::VirusScan backend for scanning with clamscan

SYNOPSIS ^

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

DESCRIPTION ^

File::VirusScan backend for scanning using ClamAV's clamscan 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 'clamscan' binary.

INSTANCE METHODS ^

scan ( $pathname )

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

DEPENDENCIES ^

Cwd, File::VirusScan::Result,

SEE ALSO ^

http://www.clamav.net/

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 terms of the GNU General Public License, version 2, or (at your option) any later version.

syntax highlighting: