21 results (0.925 seconds)
B::Hooks::EndOfScope - Execute code after a scope finished compilation 5 ++

This module allows you to execute code when perl finished compiling the surrounding scope. FUNCTIONS on_scope_end on_scope_end { ... }; on_scope_end $code; Registers $code to be executed after the surrounding scope has been compiled. This is exported...

ETHER/B-Hooks-EndOfScope-0.13 - 07 Jan 2014 21:29:42 GMT - Search in distribution

here - insert generated source here 2 ++
ASG/here-0.03 - 17 Dec 2011 23:51:14 GMT - Search in distribution

Sub::Op - Install subroutines as opcodes. 2 ++

This module provides a C and Perl API for replacing subroutine calls by custom opcodes. This has two main advantages : * it gets rid of the overhead of a normal subroutine call ; * there's no symbol table entry defined for the subroutine. Subroutine ...

VPIT/Sub-Op-0.02 - 08 Jan 2010 21:37:06 GMT - Search in distribution

AtExit - perform exit processing for a program or object ++

The AtExit module provides ANSI-C style exit processing modeled after the "atexit" function in the standard C library (see atexit(3C)). Various exit processing routines may be registered by calling atexit and passing it the desired subroutine along w...

NEILB/AtExit-2.02 - 06 Apr 2014 09:02:58 GMT - Search in distribution

Exporter::Auto - Export public functions automatically. ++

I'm tired to push function names to @EXPORT. Perl5 should add functions automatically!!!111 AUTHOR Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM> SEE ALSO This module uses magical B::Hooks::EndOfScope. If you think this module is too clever, pleas...

TOKUHIROM/Exporter-Auto-0.03 - 15 May 2013 13:32:28 GMT - Search in distribution

Scope::Guard - lexically-scoped resource management 6 ++

This module provides a convenient way to perform cleanup or other forms of resource management at the end of a scope. It is particularly useful when dealing with exceptions: the "Scope::Guard" constructor takes a reference to a subroutine that is gua...

CHOCOLATE/Scope-Guard-0.20 - 16 May 2010 08:06:00 GMT - Search in distribution

Exporter::AutoClean - export instant functions available at compile time only ++

This is a simple wrapper module of B::Hooks::EndOfScope, allows you to export instant functions that is only available at compile time. SEE ALSO B::Hooks::EndOfScope, namespace::autoclean. METHOD Exporter::AutoClean->export( $package, %export_functio...

TYPESTER/Exporter-AutoClean-0.01   (1 review) - 16 Jul 2009 05:41:57 GMT - Search in distribution

Devel::Pragma - helper functions for developers of lexical pragmas 1 ++

This module provides helper functions for developers of lexical pragmas. These can be used both in older versions of perl (from 5.8.1), which have limited support for lexical pragmas, and in the most recent versions, which have improved support. EXPO...

CHOCOLATE/Devel-Pragma-0.60 - 20 Oct 2013 18:09:25 GMT - Search in distribution

Scope::Upper - Act on upper scopes. 8 ++

This module lets you defer actions *at run-time* that will take place when the control flow returns into an upper scope. Currently, you can: * hook an upper scope end with "reap" ; * localize variables, array/hash values or deletions of elements in h...

VPIT/Scope-Upper-0.24   (1 review) - 10 Sep 2013 11:08:32 GMT - Search in distribution

Devel::Declare - Adding keywords to perl, in perl 8 ++

Devel::Declare can install subroutines called declarators which locally take over Perl's parser, allowing the creation of new syntax. This document describes how to create a simple declarator. USAGE We'll demonstrate the usage of "Devel::Declare" wit...

ETHER/Devel-Declare-0.006016   (5 reviews) - 01 Apr 2014 03:02:35 GMT - Search in distribution

namespace::clean - Keep imports and functions out of your namespace 15 ++

Keeping packages clean When you define a function, or import one, into a Perl package, it will naturally also be available as a method. This does not per se cause problems, but it can complicate subclassing and, for example, plugin classes that are i...

RIBASUSHI/namespace-clean-0.25   (1 review) - 05 Mar 2014 11:27:00 GMT - Search in distribution

Hook::AfterRuntime - Run code at the end of the compiling scope's runtime. 2 ++

Useful for creating modules that need a behavior to be added when a module that uses them completes its runtime. Like B::Hooks::EndOfScope except it triggers for run-time instead of compile-time. Example where it might be handy: #!/usr/bin/perl use s...

EXODIST/Hook-AfterRuntime-0.005   (1 review) - 30 Aug 2010 12:57:57 GMT - Search in distribution

namespace::autoclean - Keep imports out of your namespace 12 ++

When you import a function into a Perl package, it will naturally also be available as a method. The "namespace::autoclean" pragma will remove all imported symbols at the end of the current package's compile cycle. Functions called in the package its...

ETHER/namespace-autoclean-0.19   (3 reviews) - 17 Jun 2014 04:59:02 GMT - Search in distribution

MooseX::MarkAsMethods - Mark overload code symbols as methods 2 ++

MooseX::MarkAsMethods allows one to easily mark certain functions as Moose methods. This will allow other packages such as namespace::autoclean to operate without blowing away your overloads. After using MooseX::MarkAsMethods your overloads will be r...

RSRCHBOY/MooseX-MarkAsMethods-0.15 - 31 May 2012 00:34:44 GMT - Search in distribution

HTML::String::Overload - Use constant overloading with HTML::String 3 ++

This module installs a constant overload for strings - see "Overloading constants" in overload in overload.pm's docs for how that works. On import, we both set up the overload, and use B::Hooks::EndOfScope to register a callback that will remove it a...

MSTROUT/HTML-String-1.000006 - 15 Sep 2013 19:49:08 GMT - Search in distribution

B::Hooks::OP::Annotation - annotate and delegate hooked OPs ++

This module provides a way for XS code that hijacks OP "op_ppaddr" functions to delegate to (or restore) the previous functions, whether assigned by perl or by another module. Typically this should be used in conjunction with B::Hooks::OP::Check. "B:...

CHOCOLATE/B-Hooks-OP-Annotation-0.44 - 20 Apr 2011 03:27:32 GMT - Search in distribution

Glib::Ex::FreezeNotify - freeze Glib object property notifies by scope guard style ++

"Glib::Ex::FreezeNotify" applies a "freeze_notify()" to given objects, with automatic corresponding "thaw_notify()" at the end of a block, no matter how it's exited, whether a "goto", early "return", "die", etc. This protects against an error throw l...

KRYDE/Glib-Ex-ObjectBits-16 - 08 Jun 2014 10:25:52 GMT - Search in distribution

Gtk2::Ex::FreezeChildNotify - freeze Gtk child property notifies in scope guard style ++

"Gtk2::Ex::FreezeChildNotify" applies a "freeze_child_notify" to given widgets, with automatic corresponding "thaw_child_notify" at the end of a block, no matter how it's exited, whether a "goto", early "return", "die", etc. This protects against an ...

KRYDE/Gtk2-Ex-WidgetBits-48 - 27 Oct 2012 00:35:57 GMT - Search in distribution

Web::Simple::AntiquatedPerl - the slides from the talk 16 ++
ETHER/Web-Simple-0.028   (1 review) - 11 Jul 2014 15:17:44 GMT - Search in distribution

Hosting generously
sponsored by Bytemark