Package::Subroutine::Sugar
use Package::Subroutine::Sugar; package Ican::not::program; import from 'Animal::Words' => qw/moo mae meow/
This module creates the namespace from. The following and methods are imported from Package::Subroutine:
from
As the name suggests it provides some (syntactic) sugar.
Please have fun with it but please think twice before using it seriously.
Sebastian Knapp, <rock@ccls-online.de>
; no from # this deletes from package
Unfortunatly I'm not sure if this is the right way to do it (how could this be done better?).
Please report more bugs or feature requests to bug-package-subroutine@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-package-subroutine@rt.cpan.org
Copyleft 2007-2008 Sebastian Knapp
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Package::Subroutine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Package::Subroutine
CPAN shell
perl -MCPAN -e shell install Package::Subroutine
For more information on module installation, please visit the detailed CPAN module installation guide.