Rechercher une page de manuel
Jifty::Script::Env.3pm
Langue: en
Version: 2007-12-26 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Jifty::Script::Env - access the Jifty environmentDESCRIPTION
Loads Jifty and your configuration, allowing you to verify and examine your setup.run
jifty env <Class> <method> [arguments]
Loads Jifty::Class and calls method on it, providing shortcuts for things like:
perl -MJifty::Util -e 'print Jifty::Util->share_root, "\n";'
The class and method can be combined with a '->' But, unquoted '>' is a redirect so simply use the '-' or '.' characters.
jifty env Util share_root jifty env 'Util->share_root' jifty env Util.share_root
You may chain accessors. A leading dot also means the class is Jifty.
jifty env Jifty.config.framework ApplicationName jifty env .config.framework ApplicationName
With no arguments, acts as '"jifty env Jifty.config.stash"'.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre