https://github.com/michal-josef-spacek/alien-ed-gnu
Find or download and install GNU ed.
https://github.com/michal-josef-spacek/alien-ed-gnu
alien cpan perl
Last synced: 9 months ago
JSON representation
Find or download and install GNU ed.
- Host: GitHub
- URL: https://github.com/michal-josef-spacek/alien-ed-gnu
- Owner: michal-josef-spacek
- License: bsd-2-clause
- Created: 2022-09-04T11:57:39.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-23T10:11:21.000Z (about 3 years ago)
- Last Synced: 2025-05-25T20:11:44.438Z (about 1 year ago)
- Topics: alien, cpan, perl
- Language: Perl
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
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
AUTHOR
Michal Josef Špaček
LICENSE AND COPYRIGHT
© 2022 Michal Josef Špaček
BSD 2-Clause License
VERSION
0.03