08 Jan 2005 23:49:10 UTC
- Distribution: XML-SAX-ExpatNB
- Module version: 0.01
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (32 / 349 / 0)
- KwaliteeBus factor: 3
- 100.00% Coverage
- License: unknown
- Activity24 month
- Download (3.63KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionNUFFIN יובל קוג'מן (Yuval Kogman)
Take me over?The maintainer of this distribution is looking for someone to take over! If you're interested then please contact them via email.
XML::SAX::ExpatNB - A nonblocking filehandle oriented XML::SAX parser, and a namespace consistency link, from XML::Parser::ExpatNB to XML::SAX::Expat::Incremental.
use XML::SAX::ExpatNB; my $nb_parser = XML::SAX::ExpatNB->new; # use XML::SAX::ParserFactory $nb->parse_file($fh) if $data;
XML::Parser::Expat has a variation, called XML::Parser::ExpatNB which is rather stupidly named, IMHO. It's a useful module, though, and in case you got here from there looking for an XML::SAX based wrapper for it, then one exists, but is not named XML::SAX::ExpatNB. It's called XML::SAX::Expat::Incremental.
- parse_file FH
Reads as much data as possible from FH, without blocking, and parse it.
Accepts the parameter
ReadOnce, whose value is the number of bytes to read, as an option.
- parse_once FH [ BYTES ]
Reads BYTES bytes from FH (defaults to 4096), and parse them, without blocking.
Yuval Kogman <firstname.lastname@example.org>
Copyright (c) 2005 Yuval Kogman. All rights reserved This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install XML::SAX::ExpatNB, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install XML::SAX::ExpatNB
For more information on module installation, please visit the detailed CPAN module installation guide.