• 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 Exporter::Simple Download

Exporter::Simple

October 16, 2009
Streamlined module exports set-up for simplified usage.
Version 1.10
License Perl Artistic License
Platform Linux
Supported Languages English
Homepage search.cpan.org
Developed by Marcel Grnauer
Exporter::Simple is a powerful module in Perl that allows you to define exports easily. This can be achieved by subclassing a package, and you do not have to worry about the details of Exporter. With Exporter::Simple, you can use two attributes to define exporter behavior: Exported and Exportable.

Exported is used to indicate that the associated subroutine or global variable must be exported automatically. This attribute also goes into the :all tag depending on the rules set by %EXPORT_TAGS. Any tags you specify as options of this attribute will be available as well. For instance, declaring sub hello : Exported(greet,uk) { ... } will export hello() and make it available in :all, :greet, and :uk tags.

On the other hand, Exportable is similar to Exported, but the associated subroutine or global variable will not be automatically exported. However, it will still be available in the :all tag and all other tags specified as attribute options.

When using Exporter::Simple, the export definitions are kept with the subroutines and variables instead of having to worry about what goes in @EXPORT, @EXPORT_OK and %EXPORT_TAGS. This means that Exporter::Simple frees you from the implementation details of Exporter.

In the SYNOPSIS, you can see how easy it is to define exports using Exporter::Simple. In the example, the package MyExport uses the base 'Exporter::Simple', and exports @bar, $foo, and $z with the Exported and Exportable attributes. It also defines three subroutines, hello, askme, and hi, with Exported and Exportable attributes as well.

Finally, in a separate module, you can use MyExport and specify the :greet tag to make hello() available. You can also print hello() and add a value to a variable.

Overall, Exporter::Simple is an excellent module that makes defining exports a lot easier, keeping the export definitions with the subroutines and variables, and freeing you from the details of Exporter.
What's New

Version 1.10: N/A

Free Download 6K
323
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    155
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    92
  4. SlideMap 1.2.2
    82
  5. CherryTV 0.1
    81
  6. porm r2
    79
  7. Swiftfox 3.0b5pre-2
    77
  8. Java Games 1.0
    76
  9. Clewarecontrol 0.8
    75
  10. fuseftp 0.8
    74

Related Downloads

Simple Stopwatch
This stopwatch software features a timer displaying hours, minutes, seconds, and milliseconds, ...
Edit With Kwrite Service Menu
The Edit with Kwrite Service Menu is a straightforward KDE servicemenu that ...
Poweradmin
Poweradmin is a user-friendly software for managing DNS in Bert Hubert's PowerDNS ...
TrMake
TrMake is a modular makefile software that simplifies C++ development across multiple ...
CSS::Selector
A CSS selector is a tool used for selecting elements in a ...
Backer-upper
Backerupper is a user-friendly software that enables users to backup chosen folders ...
PyLinda
Linda is a distributed computing environment that emphasizes tuple space as its ...
GtkOL-LDAP
GtkOL-LDAP is a Graphical User Interface (GUI) client software that is built ...
Joystick control
Joystick Control" software enables users to manage popular media applications easily with ...
HPTalx
HPTalx is a file transfer software for HP 48/49 calculator that enables ...
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.