Navigation Menu

Skip to content

Commit

Permalink
make filename a Path::Class::File
Browse files Browse the repository at this point in the history
  • Loading branch information
acme committed Aug 5, 2009
1 parent a4eb8b3 commit 14bfe4a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/Bisect/Perl/UsingGit.pm
@@ -1,11 +1,13 @@
package Bisect::Perl::UsingGit;
use Moose;
use MooseX::Types::Path::Class;
with 'MooseX::Getopt';
use Capture::Tiny qw(tee);

has 'action' => ( is => 'rw', isa => 'Str', required => 1 );
has 'filename' => ( is => 'rw', isa => 'Str', required => 1 );
has 'verbose' => ( is => 'rw', isa => 'Bool', default => 0 );
has 'action' => ( is => 'rw', isa => 'Str', required => 1 );
has 'filename' =>
( is => 'rw', isa => 'Path::Class::File', required => 1, coerce => 1, );
has 'verbose' => ( is => 'rw', isa => 'Bool', default => 0 );

sub run {
my $self = shift;
Expand Down

0 comments on commit 14bfe4a

Please sign in to comment.