NAME
Bio::Polloc - Perl library for Polymorphic Loci Analyses
AUTHOR - Luis M. Rodriguez-R
Email lmrodriguezr at gmail dot com
GLOBALS
Global variables controling the behavior of the package
VERSION
The package's version
VERBOSITY
Verbosity level
TIMESTAMP
Should I report the current Unix time on each debug line?
DOER
Should I save my work? Provided for testing purposes
DEBUGLOG
Sets the file at which debug information should be saved if VERBOSITY is greater or equal to 2, and returns a Bio::Polloc::Polloc::IO object to write on it.
PUBLIC METHODS
Methods provided by the package
new
Generic instantiation function
verbosity
Gets/sets the verbosity level
Arguments
- An integer
-
-1 : No warnings 0 : Display warnings 1 : Display warnings with stacktrace 2 : + debug information 3 : + throw on warning
Returns
An integer (as the arguments)
throw
Throws an Exception
Arguments
- -text
-
The message of the error
- -value
-
The element causing the error
- -class
-
The exception class (Bio::Polloc::Polloc::Error by default)
Returns
Nothing
debug
Appends debug information to the $Bio::Polloc::Polloc::DEBUGLOG or STDERR if verbosity is greater than 1
warn
Launches a warning message. If verbosity is greater than two, the message becomes a throw
.
stack_trace_dump
strack_trace
vardump
Attempts to display all the content of a given object
Arguments
Some object (any type)
Returns
Nothing, the result is sent to STDOUT
rrmdir
Recursively removes a directory.
INTERNAL METHODS
Methods intended to be used only witin the scope of Bio::Polloc::*