---
name: "Text::PDF::Utils"
section: "3pm"
platform: "linux"
package: "libtext-pdf-perl"
version: "0.31-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Text::PDF::Utils"
---

# Text::PDF::Utils(3pm)

Utility functions for PDF library

## NAME

Text::PDF::Utils - Utility functions for PDF library

## DESCRIPTION

A set of utility functions to save the fingers of the PDF library users!

## FUNCTIONS

### PDFBool

Creates a Bool via Text::PDF::Bool-\>new

### PDFArray

Creates an array via Text::PDF::Array-\>new

### PDFDict

Creates a dict via Text::PDF::Dict-\>new

### PDFName

Creates a name via Text::PDF::Name-\>new

### PDFNum

Creates a number via Text::PDF::Number-\>new

### PDFStr

Creates a string via Text::PDF::String-\>new

### asPDFBool

Returns a boolean value in PDF output form

### asPDFStr

Returns a string in PDF output form (including () or \<\>)

### asPDFName

Returns a Name in PDF Output form (including /)

### asPDFNum

Returns a number in PDF output form

### unpacku($str)

Returns a list of unicode values for the given UTF8 string
