Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (18 sloc) 0.579 kb
# Copyright 2011-2012, Paul Johnson (
# This software is free. It is licensed under the same terms as Perl itself.
# The latest version of this software should be available from my homepage:
# __COVER__ skip_test $] < 5.010 || !(eval "use Moose; 23")
# __COVER__ skip_reason Moose not available or unreliable with Devel::Cover
use 5.010;
package Foo;
use Moose;
has bar => (
is => 'rw',
isa => 'Maybe[Str]',
package main;
my $example = Foo->new();
say $example->bar();
Jump to Line
Something went wrong with that request. Please try again.