---
name: "VCP::ConfigFileUtils"
section: "3pm"
platform: "linux"
package: "libvcp-perl"
version: "0.9-20050110-1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/VCP::ConfigFileUtils"
---

# VCP::ConfigFileUtils(3pm)

utilities used to parse or create vcp config files

## NAME

VCP::ConfigFileUtils - utilities used to parse or create vcp config files

## SYNOPSIS

```
   use VCP::ConfigFileUtils qw( parse_config_file write_config_file );
```

## DESCRIPTION

## FUNCTIONS

- 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

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.
