Tree::PseudoIncLib 0.05
Sponsored Links
Tree::PseudoIncLib 0.05 Ranking & Summary
File size:
0.038 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
810
Date added:
2007-08-11
Publisher:
Slava Bizyayev
Tree::PseudoIncLib 0.05 description
Tree::PseudoIncLib is a Perl class for encapsulating a description of pseudo-INC array.
ABSTRACT
This module encapsulates a perl-type library description data and provides methods for manipulating that data. It is in no way associated with any real @INC array on the system. Instead, it works with so-called pseudo_INC incoming array that might be, or might be not directly associated with @INC defined for a particular user or a process on the system.
SYNOPSIS
# make sure to configure the log system properly.
#
use Tree::PseudoIncLib;
#
# class default object:
#
my $tree_obj = Tree::PseudoIncLib->new();
#
# another instance:
#
my $sp_obj = $tree_obj->new (
max_nodes => $my_max_nodes, # limit number of nodes
p_INC => $my_INC_copy_ref,
);
unless ( $sp_obj->from_scratch ) {
# something went wrong:
print ($sp_obj->status_as_string);
die;
}
# wewe got a description inside the object.
# we can export it to an appropriate form now...
#
my $src_html = $sp_obj->export_to_DHTML (
title => Test-Debug,
image_dir => data/images/,
icon_shaded => file_x.gif,
icon_folder_opened => folder_opened.gif,
icon_symlink => hand.right.gif,
tree_intend => 18,
row_class => r0,
css => , # use inline css
jslib => , # no jslib
overlib => js/overlib.js,
);
# ... and deploy the document from $src_html then...
Detailed description of Perl library on the system is extremely helpful for every perl developer. It could be benefitial for the system administrator too in order to ensure a proper structure of system libraries.
This module encapsulates the description data and provides methods for manipulating that data. It was initially developed as an Apache incorporated tool for the mod_perl development. The idea beside was pretty simple -- to provide developers with the tree of all available perl modules installed on the system and make all sources and documents viewable on network.
As a side effect of the first developed prototype, it appeared to be usefull additionally from the standpoint of proper configuration of @INC array on the system, particularly regarding the fact that some perl modules could be shaded by other ones carrying the same CPAN class name. It appears to be pretty easy to mark all shaded modules on the tree, providing helpful information for the system administrator.
It was noticed additionally that the process of creation of the tree is extremely time consuming, especially on busy web servers equiped with rich Perl libraries. On the other hand, the content of the libraries remains unchanged usualy pretty long time that is measured in days and weeks. So far, the separation of the process of creation of the tree from the process of deployment of the view to the client browser seems beneficial from the prospective of improvement of performance on busy systems. That was the main reason of creation of this module, making it possible to use the same API from the command line script or one running under the cron control.
Despite the initial purpose, this version of the module is in no way associated with any real @INC array on the system. Instead, this module works with so-called pseudo_INC incoming array that might be, or might be not directly associated with current @INC for a particular user/process on the system.
ABSTRACT
This module encapsulates a perl-type library description data and provides methods for manipulating that data. It is in no way associated with any real @INC array on the system. Instead, it works with so-called pseudo_INC incoming array that might be, or might be not directly associated with @INC defined for a particular user or a process on the system.
SYNOPSIS
# make sure to configure the log system properly.
#
use Tree::PseudoIncLib;
#
# class default object:
#
my $tree_obj = Tree::PseudoIncLib->new();
#
# another instance:
#
my $sp_obj = $tree_obj->new (
max_nodes => $my_max_nodes, # limit number of nodes
p_INC => $my_INC_copy_ref,
);
unless ( $sp_obj->from_scratch ) {
# something went wrong:
print ($sp_obj->status_as_string);
die;
}
# wewe got a description inside the object.
# we can export it to an appropriate form now...
#
my $src_html = $sp_obj->export_to_DHTML (
title => Test-Debug,
image_dir => data/images/,
icon_shaded => file_x.gif,
icon_folder_opened => folder_opened.gif,
icon_symlink => hand.right.gif,
tree_intend => 18,
row_class => r0,
css => , # use inline css
jslib => , # no jslib
overlib => js/overlib.js,
);
# ... and deploy the document from $src_html then...
Detailed description of Perl library on the system is extremely helpful for every perl developer. It could be benefitial for the system administrator too in order to ensure a proper structure of system libraries.
This module encapsulates the description data and provides methods for manipulating that data. It was initially developed as an Apache incorporated tool for the mod_perl development. The idea beside was pretty simple -- to provide developers with the tree of all available perl modules installed on the system and make all sources and documents viewable on network.
As a side effect of the first developed prototype, it appeared to be usefull additionally from the standpoint of proper configuration of @INC array on the system, particularly regarding the fact that some perl modules could be shaded by other ones carrying the same CPAN class name. It appears to be pretty easy to mark all shaded modules on the tree, providing helpful information for the system administrator.
It was noticed additionally that the process of creation of the tree is extremely time consuming, especially on busy web servers equiped with rich Perl libraries. On the other hand, the content of the libraries remains unchanged usualy pretty long time that is measured in days and weeks. So far, the separation of the process of creation of the tree from the process of deployment of the view to the client browser seems beneficial from the prospective of improvement of performance on busy systems. That was the main reason of creation of this module, making it possible to use the same API from the command line script or one running under the cron control.
Despite the initial purpose, this version of the module is in no way associated with any real @INC array on the system. Instead, this module works with so-called pseudo_INC incoming array that might be, or might be not directly associated with current @INC for a particular user/process on the system.
Tree::PseudoIncLib 0.05 Screenshot
Tree::PseudoIncLib 0.05 Keywords
INC
PseudoIncLib
PseudoIncLib 0.05
Perl class
might be
system
Perl
array
description
class
tree
Tree::PseudoIncLib
TreePseudoIncLib
Tree::PseudoIncLib 0.05
Libraries
Programming
Bookmark Tree::PseudoIncLib 0.05
Tree::PseudoIncLib 0.05 Copyright
WareSeeker periodically updates pricing and software information of Tree::PseudoIncLib 0.05 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Tree::PseudoIncLib 0.05 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Tree::XPathEngine is a re-usable XPath engine. Free Download
Tree::Simple::View::HTML is a Perl class for viewing Tree::Simple hierarchies in HTML. Free Download
Tree::Simple::View::DHTML is a Perl class for viewing Tree::Simple hierarchies in DHTML. Free Download
Perl/Linux is a Linux distribution where ALL programs are written in perl. Free Download
mod_perlservice enables you to directly call perl methods and get return value over the internet. Free Download
Text::RewriteRules Perl module contains a system to rewrite text using regexp-based rules. Free Download
MP3::Splitter is a Perl extension for splitting MP3 files. Free Download
Text::VimColor is a syntax color text in HTML or XML using Vim. Free Download
Latest Software
Popular Software
Favourite Software