NAME

PICA::Writer::Generic - Serialize PICA data with self defined data separators

DESCRIPTION

See PICA::Writer::Base for synopsis and details.

METHODS

new( [ $fh | fh => $fh ], us => "$", rs => "#", gs => "\n" )

Create a new PICA writer, writing to STDOUT by default. The optional fh argument can be a filename, a handle or any other blessed object with a print method, e.g. IO::Handle. You can set your own data separators (unit, record, group) via the us, rs and gs arguments (default like PICA::Writer::Binary).