Hello Maypole users:
Quick question here. I've got a number of methods that aren't necessarily
related to a table class from MyApp::Model::CDBI and I don't want to put
them under one of my MyApp::TableClass namespaces.
Basically I'd like to say something like:
# Because I haven't a clue what to call these things
MyApp::Generic;
sub forgot_password() :Exported
{
# E-mail the user their password
# because they went and forgot it again
}
Now I'm obviously going to have to write my own MyApp::parse_path() so
that http://myserver/forgot_password maps to
MyApp::Generic::forgot_passowrd but that isn't the hard bit.
The hard bit is figuring out how to include forgot_password() into the
Maypole world that I have throughout the rest of MyApp (i.e. I'd like to
be able to put those nice little attributes on subs and whatnot).
Any thoughts or suggestions would be greatly appreciated!
Thanks,
Matt
--
Matt Adams <[EMAIL PROTECTED]>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Maypole-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-users