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

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

Creates a new parser object and reads in a file, handle or string.
Clears the internal xbin object.
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 );
Gets / sets the internal XBin object.


Copyright 2003-2009 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.