App-datasection

Work with __DATA__ section files from the command line


License
Artistic-1.0-Perl

Documentation

datasection static linux

Work with __DATA__ section files from the command line

SYNOPSIS

datasection extract t/foo.t
datasection diff t/foo.t
datasection insert t/foo.t

DESCRIPTION

This tool is for working with __DATA__ section files, and lets you extract, manipulate and re-insert into the __DATA__ section of Perl source files. This tool provides these subcommands:

  • extract

    datasection extract [ -d DIRECTORY ] SOURCE [ SOURCE ... ]
    

    Extract files from a __DATA__ section into the filesystem.

  • diff

    datasection diff [ -d DIRECTORY ] SOURCE [ SOURCE ... ]
    

    See the differences between the filesystem and the __DATA__ section in the Perl source file.

  • insert

    datasection insert [ -d DIRECTORY ] SOURCE [ SOURCE ... ]
    

    Insert the files from the filesystem into Perl source __DATA__ section.

SEE ALSO

AUTHOR

Graham Ollis plicease@cpan.org

COPYRIGHT AND LICENSE

This software is copyright (c) 2024 by Graham Ollis.

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