Commits

Toby Inkster committed a72cd7b

fix synopsis example

Comments (0)

Files changed (1)

lib/MooX/ClassAttribute.pm

       use MooX::ClassAttribute;
       class_has ua => (
          is      => 'rw',
-         default => { LWP::UserAgent->new },
+         default => sub { LWP::UserAgent->new },
       );
    }