The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Org::Element::Block - Represent Org block

VERSION

version 0.02

DESCRIPTION

Derived from Org::Element::Base.

ATTRIBUTES

name => STR

Block name. For example, #+begin_src ... #+end_src is an 'SRC' block.

raw_arg => STR

Argument of block. For example:

 #+BEGIN_EXAMPLE -t -w40
 ...
 #+END_EXAMPLE

will have '-t -w40' as the raw_arg value.

raw_content => STR

Content of block. In the previous 'raw_arg' example, 'raw_content' is "...\n".

METHODS

new(attr => val, ...)

new(raw => STR, document => OBJ)

Create a new headline item from parsing raw string. (You can also create directly by filling out priority, title, etc).

AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Steven Haryanto.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.