VCP::ConfigFileUtils - utilities used to parse or create vcp config files
use VCP::ConfigFileUtils qw( parse_config_file write_config_file );
- config_file_quote
- Adds quotation marks if a config file entry needs to be quoted.
LIMITATION: does not escape quotes in a string, can't figure
out how to do that for p4.
- parse_config_file
-
parse_config_file( $fn );
parse_config_file( $fn, $may_not_be_a_config_file );
Reads a configuration file and returns a list of (section
name, \@section_tokens).
- write_config_file
-
write_config_file( $filename, @plugins );
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.