That's a great idea - thanks!
--
Mark Aufflick
Pumptheory
http://pumptheory.com
On Friday, 19 April 2013 at 1:07 AM, Gintautas Grigelionis via RT wrote:
Show quoted text> Thu Apr 18 11:07:18 2013: Request 84718 was acted upon.
> Transaction: Ticket created by g.grigelionis@gmail.com (mailto:g.grigelionis@gmail.com)
> Queue: HTTP-Server-Brick
> Subject: mount must return $self
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: g.grigelionis@gmail.com (mailto:g.grigelionis@gmail.com)
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=84718 >
>
>
> ... for oneliners like perl -I... -MHTTP::Server::Brick -e
> "HTTP::Server::Brick->new(...)->mount(...)->start"
>
> mount() should default to mount('/' => { path => '.' }) so that the above
> chain could be "short-circuited" to a meaningful ->new()->start?
> ("make currect directory exposed through HTTP").
>
> Regards,
> Gintas
>
>