XML::Axk::App - awk-like XML processor, command-line interface
axk [options] [--] [input filename or script]
A filename of - represents standard input. To actually process a file named -, you will need to use shell redirection (e.g., axk < -). Standard input is the default if no input filenames are given.
-
axk < -
The first non-option argument is used for program text if no -e or -f are given. If that argument names a readable regular file or symlink, an axk program will be loaded from that file. Otherwise, that argument is used as an axk program directly.
The script language version for a -e will default to the latest if the text on the command line doesn't specify a language version.
# TODO make -L and -B apply to following -e's
Not yet implemented: Take input using the backend bkend.
Run the axk code given as text.
Run the axk code given in the file called filename.
Not yet implemented: Interpret the following -e in axk language lang.
Show debugging information. Currently-implemented what values are:
Show the Perl source generated from the provided axk code.
Not yet implemented: Set name=value.
Print the version of axk and exit
For use in Perl programs:
use XML::Axk::App; # pick whichever you want, use XML::Axk::Core; # or both # Canned interface, as if run from the command line XML::Axk::App::Main(\@ARGV) # Perl interface my $axk = XML::Axk::Core->new();
For details about the library interface, see XML::Axk::Core.
Christopher White, cxwembedded at gmail.com
cxwembedded at gmail.com
You can find documentation for this module with the perldoc command.
perldoc XML::Axk::App
You can also look for information at:
GitHub: The project's main repository and issue tracker
https://github.com/cxw42/axk
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=XML-Axk
Copyright (c) 2018 Christopher White. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the the Artistic License (2.0). Details are in the LICENSE file accompanying this distribution.
To install XML::Axk, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::Axk
CPAN shell
perl -MCPAN -e shell install XML::Axk
For more information on module installation, please visit the detailed CPAN module installation guide.