Data-Tubes
view release on metacpan or search on metacpan
lib/Data/Tubes/Plugin/Parser.pod view on Meta::CPAN
=head2 B<< parse_by_format >>
Alias for L</by_format>.
=head2 B<< parse_by_regex >>
Alias for L</by_regex>.
=head2 B<< parse_by_separators >>
Alias for L</by_separators>.
=head2 B<< parse_by_split >>
Alias for L</by_split>.
=head2 B<< parse_by_value_separator >>
Alias for L</by_value_separator>.
=head2 B<< parse_ghashy >>
Alias for L</ghashy>.
=head2 B<< parse_hashy >>
Alias for L</hashy>.
=head2 B<< parse_single >>
Alias for L</single>.
=head2 B<< single >>
my $tube = single(%args); # OR
my $tube = single(\%args);
consider the input text as already parsed, and generate as output a hash
reference where the text is associated to a key.
=over
=item C<input>
name of the input field, defaults to C<raw>;
=item C<key>
key to use for associating the input text;
=item C<name>
name of the tube, useful for debugging;
=item C<output>
name of the output field, defaults to C<structured>;
=back
=head1 BUGS AND LIMITATIONS
Report bugs either through RT or GitHub (patches welcome).
=head1 AUTHOR
Flavio Poletti <polettix@cpan.org>
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2016 by Flavio Poletti <polettix@cpan.org>
This module is free software. You can redistribute it and/or modify it
under the terms of the Artistic License 2.0.
This program is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of
merchantability or fitness for a particular purpose.
=cut
( run in 0.630 second using v1.01-cache-2.11-cpan-39bf76dae61 )