Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

padre::constant(3pm) [debian man page]

Padre::Constant(3pm)					User Contributed Perl Documentation				      Padre::Constant(3pm)

NAME
Padre::Constant - constants used by configuration subsystems SYNOPSIS
use Padre::Constant (); [...] # do stuff with exported constants DESCRIPTION
Padre uses various configuration subsystems (see "Padre::Config" for more information). Those systems needs to somehow agree on some basic stuff, which is defined in this module. CONSTANTS
"WIN32", "MAC", "UNIX" Operating Systems. "BOOLEAN", "POSINT", "INTEGER", "ASCII", "PATH" Settings data types (based on Firefox types). "HOST", "HUMAN", "PROJECT" Settings storage back-ends. "PADRE_REVISION" The SVN Revision (when running a development build). "PADRE_BLACK", "PADRE_BLUE", "PADRE_RED", "PADRE_GREEN", "PADRE_MAGENTA", "PADRE_ORANGE", "PADRE_DIM_GRAY", "PADRE_CRIMSON", "PADRE_BROWN", "PADRE_WARNING", "PADRE_ERROR" Core supported colours. "CONFIG_HOST" DB configuration file storing host settings. "CONFIG_HUMAN" YAML configuration file storing user settings. "CONFIG_DIR" Private Padre configuration directory Padre, used to store stuff. "PLUGIN_DIR" Private directory where Padre can look for plug-ins. "PLUGIN_LIB" Subdirectory of "PLUGIN_DIR" with the path "Padre/Plugin" added (or whatever depending on your platform) so that Perl can load a "Padre::Plugin::" plug-in. "LOG_FILE" Path and name of Padre's log file. "NEWLINE" Newline style (UNIX, WIN or MAC) on the currently used operating system. COPYRIGHT &; LICENSE Copyright 2008 - 2010 The Padre development team as listed in Padre.pm. This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself. perl v5.14.2 2012-06-27 Padre::Constant(3pm)

Check Out this Related Man Page

Padre::Task::PPI(3pm)					User Contributed Perl Documentation				     Padre::Task::PPI(3pm)

NAME
Padre::Task::PPI - Generic PPI background processing task SYNOPSIS
package Padre::Task::MyFancyTest; use strict; use base 'Padre::Task::PPI'; # Will be called after ppi-parsing: sub process { my $self = shift; my $ppi = shift or return; my $result = ...expensive_calculation_using_ppi... $self->{result} = $result; return; } 1; # elsewhere: Padre::Task::MyFancyTest->new( text => 'parse-this!', )->schedule; DESCRIPTION
This is a base class for all tasks that need to do expensive calculations using PPI. The class will setup a PPI::Document object from a given piece of code and then call the "process_ppi" method on the task object and pass the PPI::Document as first argument. You can either let "Padre::Task::PPI" fetch the Perl code for parsing from the current document or specify it as the ""text"" parameter to the constructor. Note: If you don't supply the document text and there is no currently open document to fetch it from, "new()" will simply return the empty list instead of a "Padre::Task::PPI" object. SEE ALSO
This class inherits from "Padre::Task" and its instances can be scheduled using "Padre::TaskManager". The transfer of the objects to and from the worker threads is implemented with Storable. AUTHOR
Steffen Mueller "smueller@cpan.org" COPYRIGHT AND LICENSE
Copyright 2008-2012 The Padre development team as listed in Padre.pm. This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself. perl v5.14.2 2012-06-27 Padre::Task::PPI(3pm)
Man Page