The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

CGI::Mungo::Utils - Helper methods

SYNOPSIS

DESCRIPTION

Various methods used by several of the Mungo classes.

METHODS

getThisUrl()

        my $url = $m->getThisUrl();

Returns the full URL for the current script, ignoring the query string if any.

getSiteUrl()

        my $url = $m->getSiteUrl();

Returns the site URL for the current script, This includes the protocol and host name only.

Notes

Author

MacGyveR <dumb@cpan.org>

Development questions, bug reports, and patches are welcome to the above address

Copyright

Copyright (c) 2012 MacGyveR. All rights reserved.

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