Image::XBin::Parser - Reads in XBin image files


Image-XBin documentation  | view source Contained in the Image-XBin distribution.

Index


NAME

Top

Image::XBin::Parser - Reads in XBin image files

SYNOPSIS

Top

	my $parser = Image::XBin::Parser->new;
	my $xbin   = $parser->parse( file => 'xbin.xb' );

METHODS

Top

new( [%options] )

Creates a new parser object and reads in a file, handle or string.

clear( )

Clears the internal xbin object.

parse( %options )

Reads in a file, handle or string

	my $parser = Image::XBin::Parser->new;

	# filename
	$xbin = $parser->parse( file => 'file.xb' );

	# file handle
	$xbin = $parser->parse( handle => $handle );

	# string
	$xbin = $parser->parse( string => $string );

xbin( [$xbin] )

Gets / sets the internal XBin object.

AUTHOR

Top

* Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE

Top


Image-XBin documentation  | view source Contained in the Image-XBin distribution.