Movatterモバイル変換


[0]ホーム

URL:


 / 
App-perlhl-0.007
River stage zero No dependents
/App::perlhl

NAME

App::perlhl - application class for syntax highlighting Perl source code

VERSION

version 0.007

SYNOPSIS

use App::perlhl;App::perlhl->new({})->run({}, \@ARGV);

DESCRIPTION

App::perlhl is the application class backingperlhl.

METHODS

new

This instantiates a new App::perlhl object. It takes a hashref of options:

  • html

    If true, the output will be an HTML fragment suitable for publishing as part of a web page.NOTE: In the future, this might output a whole valid document.

The default is to output ANSI colour codes suitable for printing to any reasonable shell or terminal (which probably means you have the one that'll break -- well it works on mine, so neener neener).

run

Unsurprisingly, this runs the application. The method takes a hashref of options, and an arrayref of filenames to highlight. If there are no filenames, defaults toSTDIN.

Options

  • version

    If present, the application will print version data and exit.

AVAILABILITY

The project homepage ishttp://metacpan.org/release/App-perlhl/.

The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visithttp://www.perl.com/CPAN/ to find a CPAN site near you, or seehttps://metacpan.org/module/App::perlhl/.

SOURCE

The development version is on github athttp://github.com/doherty/App-perlhl and may be cloned fromgit://github.com/doherty/App-perlhl.git

BUGS AND LIMITATIONS

You can make new bug reports, and view existing ones, through the web interface athttps://github.com/doherty/App-perlhl/issues.

AUTHOR

Mike Doherty <doherty@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Mike Doherty.

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

Module Install Instructions

To install App::perlhl, copy and paste the appropriate command in to your terminal.

cpanm

cpanm App::perlhl

CPAN shell

perl -MCPAN -e shellinstall App::perlhl

For more information on module installation, please visitthe detailed CPAN module installation guide.

Keyboard Shortcuts

Global
sFocus search bar
?Bring up this help dialog
GitHub
gpGo to pull requests
gigo to github issues (only if github is preferred repository)
POD
gaGo to author
gcGo to changes
giGo to issues
gdGo to dist
grGo to repository/SCM
gsGo to source
gbGo to file browse
Search terms
module: (e.g.module:Plugin)
distribution: (e.g.distribution:Dancer auth)
author: (e.g.author:SONGMU Redis)
version: (e.g.version:1.00)

[8]ページ先頭

©2009-2025 Movatter.jp