Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xacobeo::conf(3pm) [debian man page]

Xacobeo::Conf(3pm)					User Contributed Perl Documentation					Xacobeo::Conf(3pm)

NAME
Xacobeo::Conf - Application's configuration. SYNOPSIS
use Xacobeo::Conf; my $conf = Xacobeo::Conf->get_conf; my $icon = $conf->share_file('images', 'xacobeo.png'); # /usr/share/images/xacobeo.png my $po_folder = $conf->share_folder('locale'); # /usr/share/locale DESCRIPTION
Utility class that provides a way for accessing all configuration parameters that are needed at runtime.. PROPERTIES
The following properties are defined: dir The root directory where the application has been installed. METHODS
The following methods are available: get_conf Returns the current configuration instance. This class is a singleton so there's no constructor. share_dir Returns the path of a folder in the application's share directory. Parameters: o @path The path parts relative to the share directory. share_file Returns the path of a file in the application's share directory. Parameters: o @path The path parts relative to the share directory. app_name Returns the application's name. plugin_folders Returns the folders that are scanned for plugins. AUTHORS
Emmanuel Rodriguez <potyl@cpan.org>. COPYRIGHT AND LICENSE
Copyright (C) 2008,2009 by Emmanuel Rodriguez. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available. perl v5.14.2 2011-11-16 Xacobeo::Conf(3pm)

Check Out this Related Man Page

Xacobeo::App(3pm)					User Contributed Perl Documentation					 Xacobeo::App(3pm)

NAME
Xacobeo::App - Application SYNOPSIS
use Xacobeo::App; my $xacobeo = Xacobeo::App->get_app(); my $window = $xacobeo->new_window(); $window->load_file($source, $type); $xacobeo->load_plugins(); # Start the main loop Gtk2->main(); DESCRIPTION
Instance to the main application. This singleton is used to manage the life-time of the application, its widgets (specially the main windows) and to setup the application. =head1 PROPERTIES The following properties are defined: conf A reference to the main configuration singleton. windows The windows available. METHODS
The package defines the following methods: get_app Returns the current application instance. This class is a singleton so there's no constructor. get_windows Returns the windows created so far. new_window Creates a new window and shows it. load_plugins Loads the plugins that are available. load_plugin Loads a plugin based on the given description file. Parameters: o $file The file describing the plugin. AUTHORS
Emmanuel Rodriguez <potyl@cpan.org>. COPYRIGHT AND LICENSE
Copyright (C) 2008,2009 by Emmanuel Rodriguez. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available. perl v5.14.2 2011-11-16 Xacobeo::App(3pm)
Man Page

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Not able to store the results of perl recursive function when applied under for loop

Hi Perl Gurus , need URGENT HELP PLEASE !!!!! I have one recursive Perl function which takes path of any directory as argument and returns array containing all the sub folders inside it recursively. Now the problem is that it works well if i use it with one time but the problem is that when... (0 Replies)
Discussion started by: anthriksh2000
0 Replies

2. Shell Programming and Scripting

Conf file entry.

Hi, Lets say I have a script which reads a conf file (say MASTERFILE) line by line to fetch file_name, source_path, dest_path. But currently, here the file name are static for eg: ABC.txt or XYZ.txt. So i have hard-coded in the conf file. So what happens that the script picks up the file_name... (1 Reply)
Discussion started by: amit.mathur08
1 Replies

3. Shell Programming and Scripting

Help regarding a Perl Program

I want to traverse a durectory for a particular file. Situataion is like this. Path is ABC/a/c/g. it has around 100 folders in it. Search a directory which has word "*latest*" in its path. and then from the latest go through z/x/c to file final.html. In total, i want it to go through... (4 Replies)
Discussion started by: hemasid
4 Replies

4. Red Hat

Best solution for a network share?

This is in a CentOS 6 environment, our developer needs to be able to specify a relative path to a shared folder so that four machines can all point to the same shared directory, so I need to know the easiest way to do this in a native Linux environment. I've already created the directory on the... (2 Replies)
Discussion started by: xdawg
2 Replies

5. Shell Programming and Scripting

How to go to up directory from a given directory in Perl?

I have a Perl script that has a variable for a directory path and I want to define another variable that will navigate to up directory from the given directory path. This is the given directory path in Perl and this is the way the directory path is derived use FindBin; $apphome =... (0 Replies)
Discussion started by: cumeh1624
0 Replies