Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

AUBBC2 alpha development

by Anonymous Monk
on Oct 19, 2011 at 10:22 UTC ( [id://932345]=perlquestion: print w/replies, xml ) Need Help??

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>',
            );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://932345]
Approved by salva
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-23 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found