++ed by:
THALJEF BINJOY STAUGAARD MELO

4 PAUSE users
4 non-PAUSE users.

Jonathan Swartz

NAME

get.pl - Get a URL via command line without a running server

SYNOPSIS

   get.pl url

DESCRIPTION

Runs a request through your Poet application in a single process without actually requiring a running server. The request will use the same psgi.app and pass through all the same middleware, etc. Uses Test::WWW::Mechanize::PSGI.

The url scheme and host are optional, so either of these will work:

    get.pl /action
    get.pl http://localhost/action

Because the request runs in a single process, it's easy to run through a debugger:

    perl -d get.pl /action

or profiler:

    perl -d:NYTProf get.pl /action
    nytprofhtml