---
name: "Parse::Pidl::Util"
section: "3pm"
platform: "linux"
package: "libparse-pidl-perl"
version: "2:4.5.16+dfsg-1+deb9u2"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/Parse::Pidl::Util"
---

# Parse::Pidl::Util(3pm)

Generic utility functions for pidl

## NAME

Parse::Pidl::Util - Generic utility functions for pidl

## SYNOPSIS

use Parse::Pidl::Util;

## DESCRIPTION

Simple module that contains a couple of trivial helper functions  used throughout the various pidl modules.

## FUNCTIONS

- **MyDumper** a dumper wrapper to prevent dependence on the Data::Dumper module unless we actually need it

  - **has\_property** see if a pidl property list contains a given property

  - **property\_matches** see if a pidl property matches a value

  - **is\_constant** return 1 if the string is a C constant

  - **make\_str** return a "" quoted string, unless already quoted

  - **unmake\_str** unquote a "" quoted string

  - **print\_uuid** Print C representation of a UUID.

  - **ParseExpr** Interpret an IDL expression, substituting particular variables.

  - **ParseExprExt** Interpret an IDL expression, substituting particular variables. Can call callbacks when pointers are being dereferenced or variables are being used.

  - **genpad** return an empty string consisting of tabs and spaces suitable for proper indent of C-functions.
