Giter VIP home page Giter VIP logo

parse-afp's Introduction

NAME
    Parse::AFP - Parser for IBM's Advanced Function Printing document format

VERSION
    This document describes version 0.25 of Parse::AFP, released October 16,
    2010.

SYNOPSIS
        use Parse::AFP;
        my $afp = Parse::AFP->new('input.afp');
        while (my $rec = $afp->next_member) {
            print $rec->dump;
            # ...
            $rec->refresh; # if modified
        }
        $afp->refresh; # if modified
        $afp->write('output.afp');

DESCRIPTION
    This module processes IBM's AFP (Advanced Function Printing) files into
    an object hierarchy; each object may be individually modified, dumped
    into binary, or written back to another AFP file.

    Running the bundled "afpdump.pl" on a AFP file will probably explain
    this module's behaviour better than reading this documentation.

METHODS
    Methods below applies to all objects in the objects hierarchy.

  new
    Constructor. Takes either a filename, or a scalar reference to content.

  dump
    Returns the binary representation of the current object.

  write
    Takes a filename and writes the binary representation to it.

  refresh
    Regenerate binary representation from in-memory data from the object
    itself and its members. Also refreshes all uplevel parents.

  members
    Returns a list of member objects, if any.

  next_member
    Iterator for member objects.

  parent
    Returns the parent of this object, or *undef* if this is the toplevel
    object.

ACCESSORS
    Each class may define additional accessors, in the form of "FieldName"
    and "SetFieldName". There are no accessors for the toplevel Parse::AFP
    object.

CC0 1.0 Universal
    To the extent possible under law, ๅ”้ณณ has waived all copyright and
    related or neighboring rights to Parse-AFP.

    This work is published from Taiwan.

    <http://creativecommons.org/publicdomain/zero/1.0>

parse-afp's People

Contributors

audreyt avatar bluppfisk avatar thomasyeh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.