The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Inferno::RegMgr::Utils - Internal module for use by other Inferno::RegMgr::*

VERSION

This document describes Inferno::RegMgr::Utils version v1.0.0

SYNOPSIS

 run_callback( \&sub );
 run_callback( 'CLASS', 'some_method' );
 run_callback( $obj, 'some_method', $foo, "bar" );

DESCRIPTION

Internal module for use by other Inferno::RegMgr::*.

INTERFACE

run_callback( CB, METHOD, ARGS )

Run callback in Perl6 style (see http://dev.perl.org/perl6/rfc/321.html).

 CB         REQUIRED. code ref OR object OR class name
 METHOD     REQUIRED. method name for CB
 ARGS       OPTIONAL. list with params for CB
 NOTE: METHOD required only if CB is object or class name.

Return: nothing.

quote()
unquote()
attr()
parse_svc()

Helpers to process service list used by registry server.

DIAGNOSTICS

usage: run_callback( CB [, METHOD [, @ARGS]] )

run_callback() was executed without params.

run_callback: wrong CB ...

First param of run_callback() isn't one of:

 CODE ref
 OBJECT
 CLASS name

SUPPORT

Bugs / Feature Requests

Please report any bugs or feature requests through the issue tracker at https://github.com/powerman/perl-Inferno-RegMgr/issues. You will be notified automatically of any progress on your issue.

Source Code

This is open source software. The code repository is available for public review and contribution under the terms of the license. Feel free to fork the repository and submit pull requests.

https://github.com/powerman/perl-Inferno-RegMgr

    git clone https://github.com/powerman/perl-Inferno-RegMgr.git

Resources

AUTHOR

Alex Efros <powerman@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2009-2010 by Alex Efros <powerman@cpan.org>.

This is free software, licensed under:

  The MIT (X11) License