On Wed, May 30, 2007 at 09:57:20AM -0700, Jonathan Swartz wrote: > The second argument to redirect is the status code. You'll have to > construct the URL with query strings yourself. > > URL construction is one of those convenience things that ought to > have been built into Mason, but is now provided by frameworks like > Catalyst and Jifty.
Or you could use CGI.pm's gammut of very convenient functions: $full_url = url(); $full_url = url(-full=>1); #alternative syntax $relative_url = url(-relative=>1); $absolute_url = url(-absolute=>1); $url_with_path = url(-path_info=>1); $url_with_path_and_query = url(-path_info=>1,-query=>1); $netloc = url(-base => 1); man CGI for details ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users