Alien-wxWidgets

 view release on metacpan or  search on metacpan

inc/My/Build/Utility.pm  view on Meta::CPAN


sub awx_install_arch_auto_file {
    my( $build, $p ) = @_;
    my( $vol, $dir, $file ) = File::Spec->splitpath( $p || '' );
    File::Spec->catfile( $build->install_destination( 'arch' ), 'auto', 'Alien', 'wxWidgets',
                         File::Spec->splitdir( $dir ), $file );
}

sub awx_touch {
    require ExtUtils::Command;
    local @ARGV = @_;
    ExtUtils::Command::touch();
}

1;

inc/bin/patch  view on Meta::CPAN

        if ($_ eq '+') {
            push @options, [splice @opts, 0];
        } else {
            push @opts, $_;
        }
    }

    # Parse each set of options into a hash.
    my $next = 0;
    for (@options) {
        local @ARGV = @$_;
        Getopt::Long::GetOptions(\my %opts, @desc);
        $opts{origfile} = shift;
        $_ = \%opts;
        $patchfile = shift unless $next++;
    }
}

$patchfile = '-' unless defined $patchfile;

my $patch = Patch->new(@options);



( run in 1.112 second using v1.01-cache-2.11-cpan-49f99fa48dc )