
Perl6::Pod::Parser::Utils - set of useful functions

use Perl6::Pod::Parser::Utils qw(parse_URI );

Set of useful functions

Parse Pod's URI:.
scheme:path#section_name(rules)
For example:
http://www.exapmple.com/test.pod#Sect1 test.pod file:bundle.pod(para :public) file:../file1.txt Name|http://www.com#test
Return stucture:
'Name|http://example.com/index.html#txt': { 'is_external' => 1, 'name' => 'Name', 'section' => 'txt', 'address' => 'example.com/index.html', 'scheme' => 'http' } '../data/test.pod': { 'is_external' => '', 'name' => '', 'section' => '', 'address' => '../data/test.pod', 'scheme' => 'file' } 'http://www.com/d.pod(head1 :todo, para)': { 'is_external' => '1', 'name' => '', 'section' => '', 'address' => 'www.com/d.pod', 'scheme' => 'http', 'rules' => 'head1 :todo, para' }

http://perlcabal.org/syn/S26.html

Zahatski Aliaksandr, <zag@cpan.org>

Copyright (C) 2010 by Zahatski Aliaksandr
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.