Main Site Contents Up Previous Next

Scanning Options

Excluding Code Segments From Scan

You may exclude any code segment from scanning by enclosing it within comment pairs as follows:

# CAVA_PACKAGER_SCAN_SUSPEND
.....
.....code here is not scanned
.....
# CAVA_PACKAGER_SCAN_RESUME
.....
.....code here is scanned normally
.....

The scan log will report when scanning is suspended within a file.

Within Cava Packager we have several code templates designed to run against the target Perl so we use the above method to prevent dependencies needed in the target Perl from being packaged with Cava.





Contents Up Previous Next


Cava Packager Copyright © 2006-2012 Mark Dootson