• 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 Sub::ParamFrame Download

Sub::ParamFrame

October 30, 2008
This software allows users to supply key alias and defaults for named arguments. It simplifies the process of inputting arguments by offering a user-friendly interface. Users can easily input the necessary arguments for efficient execution.
Version 0.04
License Perl Artistic License
Platform Linux
Supported Languages English
Homepage search.cpan.org
Developed by Josef Schnbrunner
I recently had the opportunity to test Sub::ParamFrame, a Perl module designed to provide key alias and default values for named arguments. The SYNOPSIS code to use this feature is straightforward, and it can be imported using `use Sub::ParamFrame ':all';`.

The functionality of Sub::ParamFrame is quite interesting as it approaches a different scope of usability and covers distinct features using a different approach. While many other modules deal with named parameters and default values, this module controls the generation and behavior of a hash through a rule that a subroutine can use. When a subroutine is called, the rule appears as a command within the subroutine's body, so it's easy to generate a hash with the expected properties.

The first essential property of the rule is a name-value association of defaults. This feature is particularly interesting since Sub::ParamFrame stores this association using pfload before arguments advance from `@_`. This allows it to override some default values, making it more dynamic.

The second property of the rule is an alias mapping for argument names. The command inside the function `pfrule ('M' => $mask)` defines the keys mask function, which translates keys using the `$mask` function. The `M` command means that it can return a hash tied to the `Tie::Hash::KeysMask` class so that every hash access triggers key translation.

Additionally, the `M` command offers multiple translations acting as a CODE to transform the key into a new key. For example, the `lc` and `uc` values translate to `lc $_[0]` and `uc $_[0]` respectively. The hash `%T` defines aliases and returns a code that exists in the hash or the original key. This feature offers significant flexibility to the user.

One of the most significant advantages of using Sub::ParamFrame is the freedom to choose the position of the first named argument within `@_`. Any amount of `@_` may be shifted onto positional parameters before the command `pfload @_` takes the remaining key-value pairs. This makes it easier to use it in a more customized approach suitable for any project.
What's New

Version 0.04: N/A

Free Download 4.9K
314
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    155
  2. Dvgrab 3.4
    95
  3. DynVPN 1.0
    82
  4. CherryTV 0.1
    80
  5. SlideMap 1.2.2
    75
  6. porm r2
    70
  7. Hills 2.0
    70
  8. crick-info 1.0
    69
  9. fuseftp 0.8
    68
  10. Swiftfox 3.0b5pre-2
    67

Related Downloads

Postoffice
Postoffice is a spam-blocking SMTP mail server and client designed for simplicity.
Kamefu
Kamefu is KDE's emulator frontend and collection manager, providing users with an ...
eJourn
"eJourn" is a secure and digital journal that uses encryption technology to ...
WCF Password System
Secure access to WCF resources with password protection. This feature helps safeguard ...
DMX4Linux
DMX4Linux is a Linux software package that provides drivers for DMX devices.
PyFloppy
PyFloppy is a Python and Tkinter based floppy formatting tool for users ...
Just For Fun Network Management System
This summary is already in 18 words, and cannot be shortened further ...
p30x
P30x offers a portable Linux LiveCD/USB solution that can be accessed from ...
Xwpe-ALPHA
Xwpe is a programming software that imitates the interface of Borland C ...
MyPadDotNet
MyPadDotNet is a Mono-compatible text editor software that is free to use ...
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.