Skip to content

Instantly share code, notes, and snippets.

View kwakwaversal's full-sized avatar

Paul Williams kwakwaversal

View GitHub Profile
@kwakwaversal
kwakwaversal / test_standalone_mojo_app.pl
Last active September 18, 2017 14:27
How to test a standalone mojolicious app. #mojo #perl
package ExceptionTestController;
use Mojo::Base 'Mojolicious::Controller';
use Data::Validator::Results::Any;
sub raise_known_exception {
my $self = shift;
return unless $self->rest_eval(
sub {