Section: User Contributed Perl Documentation (3pm)
use Glib; Glib::set_application_name (Glib::get_real_name."'s Cool Program"); print "app name is ".Glib::get_application_name()."\n";
%ENVmay not include the expected information. Also, the ``application name'' referred to by (set|get)_application_name is a human readable name, distinct from the actual program name provided by Perl's own
Set the human-readable application name.
Computes a list of applicable locale names, which can be used to e.g. construct locale-dependent filenames or search paths. The returned list is sorted from most desirable to least desirable and always contains the default locale ``C''.
Return a string describing the given errno value, like ``No such file or directory'' for ENOENT. This is translated into the user's preferred language and is a utf8 wide-char string (unlike a $! string (perlvar) or POSIX::strerror (POSIX) which are locale codeset bytes).
Returns an ordered list of base directories in which to access system-wide configuration information.
Returns an ordered list of base directories in which to access system-wide application data.
Gets the base directory in which to store non-essential, cached data specific to particular user.
Gets the base directory in which to store user-specific application configuration information such as user preferences and settings.
Get the base directory for application data such as icons that is customized for a particular user.
Returns the full path of a special directory using its logical id.
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Glib for a full notice.
Tutoriais de Tecnologia Web