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

NAME

File::VirusScan::Engine::Command::NAI::Uvscan - File::VirusScan backend for scanning with uvscan

SYNOPSIS

my $s = File::VirusScan->new({
engines => {
'Command::NAI::Uvscan' => {
command => '/path/to/uvscan',
},
...
},
...
}

DESCRIPTION

File::VirusScan backend for scanning using NAI's uvscan command-line scanner.

File::VirusScan::Engine::Command::NAI::Uvscan 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 'uvscan' binary.

INSTANCE METHODS

scan ( $pathname )

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

DEPENDENCIES

Cwd, File::VirusScan::Result,

SEE ALSO

http://www.nai.com/

AUTHOR

Dianne Skoll (dianne@skoll.ca)

Dave O'Neill (dmo@roaringpenguin.com)

uvscan exit code information provided by Anthony Giggins

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.