NAME
RINO::Client - Perl extension for parsing and handling RINO data
SYNOPSIS
# using the command line client
$ rino -h
$ rino -f /tmp/rino.xml -p table
$ rino -f /tmp/rino.xml -p csv
$ cat /tmp/rino.xml | rino -p json
# using the lib
use RINO::Client;
my @input;
while(<STDIN>){
push(@input,$_);
}
my $iodef_xml = join("",@input);
my $rino = RINO::Client->new(iodef => $iodef_xml);
print $rino->write_out('table');
print $rino->write_out('csv');
print $rino->write_out('json');
my $simple_hash = $rino->to_simple();
my $complex_hash = $rino->to_hash();
SEE ALSO
http://tools.ietf.org/html/rfc5070
http://www.ren-isac.net/notifications/using_iodef.html
http://code.google.com/p/collective-intelligence-framework/
XML::IODEF
AUTHOR
Wes Young, E<lt>wes@ren-isac.netE<gt>
Doug Pearson, E<lt>dodpears@ren-isac.netE<gt>
COPYRIGHT AND LICENSE
Copyright (C) 2011 by Wes Young
Copyright (C) 2011 by Doug Pearson
Copyright (C) 2010 REN-ISAC and The Trustees of Indiana University
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.