From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

File::VirusScan::Engine::Command::Authentium::CommandAntivirus - File::VirusScan backend for scanning with Authentium's Command Antivirus

SYNOPSIS

my $s = File::VirusScan->new({
engines => {
'-Command::Authentium::CommandAntivirus' => {
command => '/path/to/scan/command',
},
...
},
...
}

DESCRIPTION

File::VirusScan backend for scanning using Authentium's Command Antivirus command-line scanner.

File::VirusScan::Engine::Command::Authentium::CommandAntivirus inherits from, and follows the conventions of, File::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 scan command.

INSTANCE METHODS

scan ( $pathname )

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

DEPENDENCIES

IO::Socket::UNIX, IO::Select, Scalar::Util, Cwd, File::VirusScan::Result,

AUTHOR

Dave O'Neill (dmo@roaringpenguin.com)

Dianne Skoll (dianne@skoll.ca)

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.