Skip to content

Commit

Permalink
alias prereqs
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed Apr 12, 2012
1 parent e955e1c commit a5f5094
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Module/CPANfile.pm
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ sub parse {
$self->{result} = Module::CPANfile::Environment::parse($file) or die $@;
}

sub prereqs { shift->prereq }

sub prereq {
my $self = shift;
require CPAN::Meta::Prereqs;
Expand Down

0 comments on commit a5f5094

Please sign in to comment.