Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (15 sloc) 0.483 kb
name 'meta_json';
description 'Support META.json';
author 'Tatsuhiko Miyagawa';
api_version 0.1;
hook pre_configure => sub {
my $args = shift;
if (-e "META.json") {
require JSON;
$args->{app}->chat("Parsing META.json");
my $json = do { open my $f, "<", "META.json"; join "", <$f> };
my $meta = JSON::decode_json($json);
%{$args->{meta}} = %$meta;
push @{$args->{deps}}, %{$meta->{configure_requires}};
Jump to Line
Something went wrong with that request. Please try again.