Help for this page

Select Code to Download


  1. or download this
            $aubbc->add_tag(
              'tag' => 'Tag',               # Tag name:
    ...
              'extra' => '',                # Extra: of tag
              'markup' => '',               # Template: output
            );
    
  2. or download this
            # This is an example of bold and italic in the same add_tag()
            # Tags: [b]message[/b] or [i]message[/i]
    ...
              'extra' => '',
              'markup' => '<%{tag}>%{message}</%{tag}>',
            );
    
  3. or download this
     sub new_function {
            # $tag, $message, $attrs are the captured group of its place
             my ($type, $tag, $message, $markup, $extra, $attrs) = @_;
    ...
             return ($message, $markup);
             # May have to return more so we have better/more controle
            }
    
  4. or download this
            # tag: [dd=Stuff 7 attr=33]stuff[/dd]
            # output: <dd attr="33" alt="Stuff 7">stuff</dd>
    ...
            Your browser does not support the video tag.
            </video>',
            );