
Chest::Global - use it as a global chest.

use Chest::Global;
Chest::Global->insert('Function No. 1',sub{sub{print "hello world!\n"}});
Chest::Global->take('Function No. 1');

Creates a single chest to insert and take methods from.

Initialize the global object and defines the method names. Default is the same as in Chest. You can change them with a hash reference with original method names as keys and new names as values.
Example:
; use Chest::Global { take => 'execute', insert => 'place' }


Sebastian Knapp

Copyright (C) 2006 by Sebastian Knapp
This library is free software; you can redistribute it and/or modify it under the same terms as perl itself.