Chris Winters > OpenInteract-1.99_06 > OpenInteract2::ActionResolver::UserDir

Download:
OpenInteract-1.99_06.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 1.04   Source  

NAME ^

OpenInteract2::ActionResolver::UserDir - Be able to create action from user directory request

SYNOPSIS ^

 http://.../~cwinters
 http://.../~cwinters/display_groups/
 http://.../~cwinters/last_post/5

DESCRIPTION ^

Respond to URLs with leading '~' characters. Everything after the '~' up to the path separator is used as the user's name you wish to display or manipulate.

OBJECT METHODS ^

resolve( $request, $url )

If $url has a leading '~' we parse it into a username and optional task, then create the 'user' action and assign the task to its property and the username to its 'username' parameter.

SEE ALSO ^

OpenInteract2::ActionResolver

COPYRIGHT ^

Copyright (c) 2005 Chris Winters. All rights reserved.

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

AUTHORS ^

Chris Winters <chris@cwinters.com>