Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Squatting::On::Catalyst and Truly Modular Web Apps

by beppu (Hermit)
on Aug 15, 2008 at 02:25 UTC ( [id://704467]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package MicroWiki;
    use base 'Squatting';
    ...
    <form method="post" action="%s"><textarea name="text" rows="20">%s</te
    +xtarea>'
    .'<input type="submit"/></form>',
    R('Page', $_[1]->{page}), $_[1]->{text}) })); 1;
    
  2. or download this
    squatting MicroWiki
    
  3. or download this
    use MicroWiki 'On::Catalyst';
    MicroWiki->init;
    MicroWiki->relocate('/wiki');
    sub wiki : Local { MicroWiki->catalyze($_[1]) }
    
  4. or download this
    my $view = $MicroWiki::Views::V[0];
    $view->{layout} = sub {
      my ($self, $v, $content) = @_;
      # return a string that wraps around $content
    };
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-29 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found