NAME
App::PS1 - Module to load PS1 status line elements
VERSION
This documentation refers to App::PS1 version 0.002.
SYNOPSIS
use App::PS1;
# Brief but working code example(s) here showing the most common usage(s)
# This section will be as far as many users bother reading, so make it as
# educational and exemplary as possible.
DESCRIPTION
SUBROUTINES/METHODS
new ( $param_hash )
Param: ps1
Str What plugins to show on the prompt Param: low
Bool Use low (16 bit colour) Param: bw
Bool Don't use any colour (black and white) Param: theme
Str Use colour theme Param: exit
Int The last program's exit code Param: cols
Int The number of columns wide to assume the terminal is
Return: App::PS1 - A new object
Description:
sum ( @list )
Adds the values in list and returns the result.
cmd_prompt ()
Display the command prompt
parts_size ()
calculate the size of the prompt parts
load ()
Load plugins
surround ()
Surround the text with brackets
colour ($name)
Get the theme colour for $name
DIAGNOSTICS
CONFIGURATION AND ENVIRONMENT
DEPENDENCIES
INCOMPATIBILITIES
BUGS AND LIMITATIONS
There are no known bugs in this module.
Please report problems to Ivan Wills (ivan.wills@gmail.com).
Patches are welcome.
AUTHOR
Ivan Wills - (ivan.wills@gmail.com)
LICENSE AND COPYRIGHT
Copyright (c) 2011 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW, Australia 2077) All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.