NAME

seq-pl - Like seq, but with Perl extras

VERSION

This document describes version 0.003 of seq-pl (from Perl distribution App-seq-pl), released on 2026-07-16.

SYNOPSIS

Create numbers from 1 to 10:

% seq-pl 1 10

Create numbers from 01 to 10, no need to format as Perl will DWIM:

% seq-pl 01 10

Create hexadecimal numbers from 0x001 to 0x01e:

% seq-pl 1 31 -f "0x%03x"

Create letters from a to z:

% seq-pl a z

This I often do to put things under an alphabet series of folders:

% mkdir 0 `seq-pl a z`

Create letters from aa to bz:

% seq-pl aa bz

DESCRIPTION

This variant of seq uses Perl's autoincrement feature to create sequence, e.g. 0..10 or "01".."10", or "a".."z". The formatting also uses Perl's sprintf() for more flexibility.

OPTIONS

--format=s, -f

Optional. Format with a sprintf() template.

--separator=s, -s

Optional. String to append to each item. The default is the newline character.

--equal-width, -w

--help, -h, -?

--version

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/App-seq-pl.

SOURCE

Source repository is at https://github.com/perlancar/perl-App-seq-pl.

SEE ALSO

seq, the Unix utility.

Other seq variants or themes I've written: seq-intrange (from App::seq::intrange), seq-numseq (from App::seq::numseq), dateseq (from App::dateseq) which can generate date sequences, including infinite ones, seq-pericmd (from App::SeqPericmd) which lets you customize increment/step (e.g. 0.5) or limit the number of items.

AUTHOR

perlancar <perlancar@cpan.org>

CONTRIBUTING

To contribute, you can send patches by email/via RT, or send pull requests on GitHub.

Most of the time, you don't need to build the distribution yourself. You can simply modify the code, then test via:

% prove -l

If you want to build the distribution (e.g. to try to install it locally on your system), you can install Dist::Zilla, Dist::Zilla::PluginBundle::Author::PERLANCAR, Pod::Weaver::PluginBundle::Author::PERLANCAR, and sometimes one or two other Dist::Zilla- and/or Pod::Weaver plugins. Any additional steps required beyond that are considered a bug and can be reported to me.

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by perlancar <perlancar@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-seq-pl

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.