Zahatski Aliaksandr > Perl6-Pod > Perl6::Pod::Parser::Context

Download:
Perl6-Pod-0.60.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source  

new [ <parent context ref>]

sub_context

create sub_context

config

return ref to hash of pod options per blockname

usef

return ref to hash of plugin per formatcode name

use

return ref to hash of perl module per blockname

custom

return ref to hash of user defined keys,vals

class_opts

return ref to hash of Class optioons to create loaded by use mods

set_use <module_name>, ':config_options'

encoding

return ref to hash of pod options per blockname

_opt2hash <pod opt string>

Convert pod opt string to hash

_hash2opt

Convert hash to opt string

    'we' => {
        'value' => '12 3 asdas a',
      'type'  => 'String'
    }

get_attr <block_type>

Get options for block_type in current context

    $c1->get_attr('item1');

set_attr <block_type>, { attr1 =>1[, attr2=>2]}

Set options for block_type in current context

    $c1->set_attr('item1', { w=>[12] } );

SEE ALSO ^

http://zag.ru/perl6-pod/S26.html, Perldoc Pod to HTML converter: http://zag.ru/perl6-pod/, Perl6::Pod::Lib

AUTHOR ^

Zahatski Aliaksandr, <zag@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2009-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.

syntax highlighting: