Doug Hoyte > App-Unliner > unliner

Download:
App-Unliner-0.011.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

unliner - Untangle your unix pipeline one-liners

USAGE ^

This is the command line interface for running unliner scripts. To learn how to create unliner scripts, see App::Unliner::Intro.

You can run your scripts by passing them in as the first argument to unliner:

    unliner /path/to/myscript.unliner [args to unliner script]

Alternatively, you can put the following line at the top of your unliner script:

    #!/usr/bin/env unliner

make your script executable:

    chmod a+x /path/to/myscript.unliner

and then run it directly:

    /path/to/myscript.unliner [args]

Lastly, you pipe an unliner script to unliner on standard input:

    unliner < /path/to/myscript.unliner

although now your unliner script won't have standard input available to it which your script may require.

DEBUGGING ^

If you set the environment variable UNLINER_DEBUG then some extra information will be printed to stderr (see App::Unliner::Intro):

    UNLINER_DEBUG=1 /path/to/myscript.unliner

SEE ALSO ^

App::Unliner::Intro

unliner github repo

AUTHOR ^

Doug Hoyte, <doug@hcsw.org>

COPYRIGHT & LICENSE ^

Copyright 2012-2013 Doug Hoyte.

This module is licensed under the same terms as perl itself.

syntax highlighting: