VCP::Filter - A base class for filters
use VCP::Filter; @ISA = qw( VCP::Filter ); ...
A VPC::Filter is a VCP::Plugin that is placed between the source and the destination and allows the stream of revisions to be altered.
For instance, the Map: option in vcp files is implemented by VCP::Filter::Map
By default a filter is a pass-through.
This class uses the fields pragma, so you'll need to use base and possibly fields in any subclasses.
parse_rules_list
@rules = $self->parse_rules( $options, "Pattern", "Replacement" );
filter_name
sort_keys
my @output_sort_order = $filter->sort_keys( @input_sort_order );
This is a pass-through by default, but VCP::Filter::sort and VCP::Filter::changesets return appropriate values.
config_file_section_as_string
backfill
handle_header
rev_count
handle_rev
skip_rev
handle_footer
Copyright 2000, Perforce Software, Inc. All Rights Reserved.
This module and the VCP package are licensed according to the terms given in the file LICENSE accompanying this distribution, a copy of which is included in vcp.
Barrie Slaymaker <barries@slaysys.com>