---
name: "MAB2::Writer::Handle"
section: "3pm"
platform: "linux"
package: "libcatmandu-mab2-perl"
version: "0.24-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/MAB2::Writer::Handle"
---

# MAB2::Writer::Handle(3pm)

Utility class for common MAB2::Writer arguments and methods.

## NAME

MAB2::Writer::Handle - Utility class for common MAB2::Writer arguments and methods.

## Arguments

- "file"

  Path to file.

- "fh"

  Open filehandle.

- "encoding"

  Set encoding.

## METHODS

### \_set\_fh()

Open filehandle (with specified encoding) from file.

### close\_fh()

Close filehandle.

### write()

Write record to filehandle.

## AUTHOR

Johann Rolschewski \<jorol@cpan.org\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Johann Rolschewski.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
