NAME

Alien::ed::GNU - Find or download and install GNU ed.

SYNOPSIS

use Alien::ed::GNU;

my $atleast_version = Alien::ed::GNU->atleast_version($wanted_version);
my $bin_dir = Alien::ed::GNU->bin_dir;
my $dist_dir = Alien::ed::GNU->dist_dir;
my $exact_version = Alien::ed::GNU->exact_version($wanted_version);
my $install_type = Alien::ed::GNU->install_type;
my $max_version = Alien::ed::GNU->max_version($wanted_version);
my $version = Alien::ed::GNU->version;

DESCRIPTION

Some packages insist on using GNU ed tool.

This package detect system GNU ed tool or install own.

SUBROUTINES/METHODS

All methods are inherited from Alien::Base.

CONFIGURATION AND ENVIRONMENT

Not yet.

EXAMPLE

use strict;
use warnings;

use Alien::ed::GNU;

print 'bin_dir: '.Alien::ed::GNU->bin_dir."\n"
        if defined Alien::ed::GNU->bin_dir;
print 'dist_dir: '.Alien::ed::GNU->dist_dir."\n";
print 'install_type: '.Alien::ed::GNU->install_type."\n";
print 'version: '.Alien::ed::GNU->version."\n";

# Output like (share):
# bin_dir: ~home/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/Alien-ed-GNU/bin
# dist_dir: ~home/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/Alien-ed-GNU
# install_type: share
# version: 1.17

# Output like (system):
# dist_dir: ~home/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/Alien-ed-GNU
# install_type: system
# version: 1.17

DEPENDENCIES

Alien::Base.

REPOSITORY

https://github.com/michal-josef-spacek/Alien-ed-GNU

AUTHOR

Michal Josef Špaček mailto:skim@cpan.org

http://skim.cz

LICENSE AND COPYRIGHT

© 2022 Michal Josef Špaček

BSD 2-Clause License

VERSION

0.02