[Catalyst] Access Catalyst context object from script

Bill Moseley moseley at hank.org
Thu Nov 1 14:14:12 GMT 2012


On Wed, Oct 31, 2012 at 6:10 AM, Anthony Gladdish <
anthony.gladdish at newcastle.ac.uk> wrote:

>
> Great - this worked, thanks. I used:
>
>         use Catalyst::Test 'MyApp';
>         my($res, $c) =3D ctx_request('/');
>

How does uri_for() know what host:port and script path to use to build
correct URLs to your site?


-- =

Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20121101/94856=
d51/attachment.htm


More information about the Catalyst mailing list