App-toposort

 view release on metacpan or  search on metacpan

bin/toposort  view on Meta::CPAN

    ignore_case => 0,
    #ignore_cyclic => 0,
);

sub parse_cmdline {
    my $res = GetOptions(
        'ignore-case|i'    => \$Opts{ignore_case},
        'help|h'           => sub {
            print <<USAGE;
Usage:
  toposort [OPTIONS]... [INPUT ...]
  toposort --help
Options:
  --ignore-case, -i
For more details, see the manpage/documentation.
USAGE
            exit 0;
        },
    );
    exit 99 if !$res;
}

bin/toposort  view on Meta::CPAN

=head1 NAME

toposort - Sort topologically

=head1 VERSION

This document describes version 0.001 of toposort (from Perl distribution App-toposort), released on 2017-04-03.

=head1 SYNOPSIS

 toposort [OPTION]... [INPUT]...

Sample input:

 c: a
 c: b
 b: a
 d: c

Sample output:



( run in 0.610 second using v1.01-cache-2.11-cpan-4e96b696675 )