This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Call for papers / Call for speakers - Mojoconf 2014 | |
TL;DR | |
* CfP Mojoconf 2012 | |
* Date: 2014-03-24 | |
* Deadline: 2014-03-15 | |
* Submit 20min/40min talks: http://www.mojoconf.org/mojo2014/newtalk | |
As previously announced the first Mojolicious related conference ever, Mojoconf 2014, will be hosted by Oslo.pm in Oslo, Norway during the weekend of May 23rd to 25th. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package MyApp::Base; | |
use Moose; | |
has 'abc' => ( is => 'ro', lazy => 1, default => 'def', reader => 'get_abc' ); | |
has 'xyz' => ( is => 'ro', lazy => 1, default => 123, reader => 'get_xyz' ); | |
around [qw/get_abc get_xyz/] => sub { | |
my ($orig, $self) = shift; | |
return "base: " . $self->$orig; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/Test/Mojo.pm b/lib/Test/Mojo.pm | |
index b12e0bc..cf736ef 100644 | |
--- a/lib/Test/Mojo.pm | |
+++ b/lib/Test/Mojo.pm | |
@@ -17,7 +17,8 @@ use Mojo::Util qw(decode encode); | |
use Test::More (); | |
has [qw(message success tx)]; | |
-has ua => sub { Mojo::UserAgent->new->ioloop(Mojo::IOLoop->singleton) }; | |
+has ua => sub { Mojo::UserAgent->new->ioloop(Mojo::IOLoop->singleton) }; |