• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux Catalyst::Plugin::Mode Download

Catalyst::Plugin::Mode

February 4, 2009
Tailor configuration values to match your development process with ease.
Version 0.03
License Perl Artistic License
Platform Linux
Supported Languages English
Homepage search.cpan.org
Developed by PLCGI
I had a great experience with the Catalyst::Plugin::Mode Perl module, which allows you to select configuration values depending on your development process. This plugin can be included in your main app module, and it really simplifies things when you need different values for your environment, such as development, test, preproduction, and production.

For example, maybe you use different URLs for your app in each environment. With Catalyst::Plugin::Mode, you can manage this process in the configuration only, without any calling methods. All you need to do is describe some options in your config using a .yml file or in Perl.

Here's an example config in .yml:

Catalyst::Plugin::Mode:
keys:
- any
- another
mode: test

any:
dev:
one_url: ''
two_url: ''
test:
one_url: ''
two_url: ''
prod:
one_url: ''
two_url: ''
another:
dev:
one_url: ''
two_url: ''
test:
one_url: ''
two_url: ''
prod:
one_url: ''
two_url: ''

Or, you can set it up in Perl:

__YOUR_APPLICATION__->config({
'Catalyst::Plugin::Mode' => {
keys => [qw/any any.else any.any.another/],
mode => 'test'
},
any => {
dev => {
one_url => '',
two_url => ''
},
test => {
one_url => '',
two_url => ''
},
prod => {
one_url => '',
two_url => ''
},
another => {
dev => {
one_url => '',
two_url => ''
},
test => {
one_url => '',
two_url => ''
},
prod => {
one_url => '',
two_url => ''
},
},
},
});

Once your Catalyst app is up and running, this setup will parse the config, and everything will be ready to go. You can change only one value in your config - the mode - and all URLs will be as you need them to be.

One thing to note is that you can define valid values for the mode for your application to ENV{APPLICATION_MODE}. All examples in the tests, so you can rest assured that this plugin is well-tested and reliable.
What's New

Version 0.03: N/A

Free Download 3.6K
346
  • Share on:

Most Popular

  1. SlideMap 1.2.2
    107
  2. Quicksilver Forums 1.4.2
    86
  3. WikEd
    77
  4. CherryTV 0.1
    72
  5. porm r2
    71
  6. Intel Software Development Emulator 1.70
    70
  7. xstereograph 2.1
    67
  8. Proxy filesystem for FUSE 1.0.0
    65
  9. Siesta::UserGuide 0.66
    60
  10. fuseftp 0.8
    57

Related Downloads

transset-df
Transset-df, a modified version of xorg's transset software, enables users to adjust ...
Migma
Migma is software that generates multiple-choice exams.
RapidInsight Open Source Edition
Get a deeper understanding of how IT operations are managed with this ...
The Photomaniac Media Library
Photomaniac Media Library offers digital photographers an efficient media management solution.
eyePass
eyePass is a password storage application developed for eyeOS, which can securely ...
Flapjax
Flapjax is a client-based Web programming language specifically designed to meet the ...
simplus
Simplus is a C library that creates event-driven simulations using process abstraction, ...
SmartCVS
SmartCVS is a versatile CVS client that runs on multiple platforms, providing ...
WMChargemon
WMChargemon is a user-friendly dockapp that displays the power status and battery ...
Lexxia
Lexxia software offers a versatile XML tool for several purposes.
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.