Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-aliased-0.34-bp155.2.12 RPM for noarch

From OpenSuSE Leap 15.5 for noarch

Name: perl-aliased Distribution: SUSE Linux Enterprise 15 SP5
Version: 0.34 Vendor: openSUSE
Release: bp155.2.12 Build date: Wed May 17 15:33:27 2023
Group: Development/Libraries/Perl Build host: build71
Size: 38717 Source RPM: perl-aliased-0.34-bp155.2.12.src.rpm
Packager: https://bugs.opensuse.org
Url: http://search.cpan.org/dist/aliased/
Summary: Use shorter versions of class names
'aliased' is simple in concept but is a rather handy module. It loads the
class you specify and exports into your namespace a subroutine that returns
the class name. You can explicitly alias the class to another name or, if
you prefer, you can do so implicitly. In the latter case, the name of the
subroutine is the last part of the class name. Thus, it does something
similar to the following:

  

  use Some::Annoyingly::Long::Module::Name::Customer;
  sub Customer {
    return 'Some::Annoyingly::Long::Module::Name::Customer';
  }
  my $cust = Customer->new;

This module is useful if you prefer a shorter name for a class. It's also
handy if a class has been renamed.

(Some may object to the term "aliasing" because we're not aliasing one
namespace to another, but it's a handy term. Just keep in mind that this is
done with a subroutine and not with typeglobs and weird namespace munging.)

Note that this is *only* for 'use'ing OO modules. You cannot use this to
load procedural modules. See the the Why OO Only? manpage section. Also,
don't let the version number fool you. This code is ridiculously simple and
is just fine for most use.

Provides

Requires

License

Artistic-1.0 or GPL-1.0+

Changelog

* Fri Apr 17 2015 coolo@suse.com
  - updated to 0.34
    see /usr/share/doc/packages/perl-aliased/Changes
    0.34  2015-01-03 20:39:44Z
    - re-release to fix problematic $VERSION declaration (RT#101095)
* Sat Dec 27 2014 lars@linux-schulserver.de
  - update to 0.33:
    + fix warnings on perl 5.21.6 and up (RT#100359; thanks, Father
      Chrysostomos!)
    + Don't inherit from Exporter (via Olivier Mengué)
    + Fix docs issues (via Grzegorz Rożniecki)
* Wed Jul 03 2013 coolo@suse.com
  - updated to 0.31
      Added prefix() function. [rt#48289]
      Moved Test::More to build_requires [rt#48926]
      Moved author tests to xt/author
* Thu Nov 17 2011 coolo@suse.com
  - regnerate with cpanspec 1.78.05
* Wed Dec 01 2010 coolo@novell.com
  - switch to perl_requires macro
* Sat Dec 26 2009 lars@linux-schulserver.de
  - initial version 0.30

Files

/usr/lib/perl5/vendor_perl/5.26.1/aliased.pm
/usr/share/doc/packages/perl-aliased
/usr/share/doc/packages/perl-aliased/CONTRIBUTING
/usr/share/doc/packages/perl-aliased/Changes
/usr/share/doc/packages/perl-aliased/LICENSE
/usr/share/doc/packages/perl-aliased/README
/usr/share/man/man3/aliased.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 9 19:57:54 2024