• 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 Module::TestConfig Download

Module::TestConfig

July 8, 2009
The software allows users to create a configuration module interactively by prompting them. This simplifies the process of generating configurations to ensure efficient use.
Version 0.05
License Perl Artistic License
Platform Linux
Supported Languages English
Homepage search.cpan.org
Developed by Joshua Keroes
If you are looking for a Perl module that facilitates the sharing of information among various test files, you should definitely check out Module::TestConfig. This module enables you to prompt a user for information and then generate a module that can be used later on.

You can integrate Module::TestConfig into your module build process (such as perl Makefile.PL), and also utilize it for installing that module into your site_perl. Another notable feature of this module is that it writes an object-oriented file. By specifying the file’s location and package name, every question’s name becomes an object method once you use() the file.

To use Module::TestConfig, simply use the following code snippet:

```use Module::TestConfig;```

Then, you can specify different parameters while creating a new object. Some of the customizable fields include:

- Verbose
- Defaults
- File
- Package
- Order

Additionally, you can also add several predefined questions to collect the desired information. A typical code snippet could look like this:

```
Module::TestConfig->new(
   verbose => 1,
   defaults => 'defaults.config',
   file => 'MyConfig.pm',
   package => 'MyConfig',
   order => [ qw/defaults env/ ],
   questions => [
       [ 'Would you like tea?' => 'tea', 'y' ],
       [ 'Crumpets?' => 'crumpets', 'y' ],
   ]
)->ask->save;
```

Once you have generated your configurations, you can use them later in other scripts or modules with this code snippet:

```
use MyConfig;
my $config = MyConfig->new;
print $config->tea eq 'y' 
    ? "We're having tea today; splendid!"
    : "No tea, I'm afraid. P'raps tomorrow.";
print $config->crumpets eq 'y' 
    ? "Crumpets; lovely!"
    : "Alas, we have no crumpets today";
```

As you can see, Module::TestConfig allows you to easily prompt users for input and generate a module that can be used later on. This module can definitely streamline the process of building and testing Perl modules.
What's New

Version 0.05: N/A

Free Download 12.5K
301
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    157
  2. Dvgrab 3.4
    94
  3. DynVPN 1.0
    83
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    76
  6. porm r2
    72
  7. Clewarecontrol 0.8
    71
  8. Hills 2.0
    71
  9. fuseftp 0.8
    70
  10. Java Games 1.0
    70

Related Downloads

Pyhoo
Pyhoo simplifies the task of converting Yahoo IM logs in .dat files ...
amuleKollection
amuleKollection is a software tool that allows you to extract ed2k links ...
Gnome Splash Properties
Gnome Splash Properties simplifies the configuration of splash on GNOME desktop.
KnowledgeTree Zimlet
The integration between Zimbra mail/collaboration and KnowledgeTree document management allows for streamlined ...
PHP-Nuke
PHP-Nuke is an online community and portal software that offers users a ...
StuffDawg
StuffDawg is a basic PHP app that enables users to document and ...
Indra
This software offers an Interface Specification for Web Applications that guides the ...
Gtk2::Ex::TimeEntry
This software is a widget that allows users to input and track ...
Python offscreen rendering (OpenGL)
Python offscreen rendering (OpenGL) is a script showcasing offscreen rendering with OpenGL ...
ksshfs
The ksshfs software is a user-friendly interface designed for sshfs. It simplifies ...
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.