perl-Sub-Versions - Subroutine versioning syntactic sugar

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Sub-Versions
Package version 1.02
Package release alt1
Package architecture noarch
Package type rpm
Installed size 27.22 KB
Download size 27.22 KB
Official Mirror
This module provides automatic syntactic sugar for simple subroutine versioning.
By specifying a version in the form "v#" as a subroutine attributes, this
module will perform a series of compile time symbol table surgeries so you
can call subroutines by explicit version or the latest version implicitly.
use MyExampleClass;
my $object = MyExampleClass->new;
$object->simple_method;     # calls the latest version of the method
$object->v1->simple_method; # calls version 1 of the method
Versions must be specified in the form `/v\d+/'. The exact version number you
use is irrelevant. The only importance is the relative value of the version
numbers to each other. The largest version number is considered the most
current version of the subroutine.
package MyExampleClass;
use Sub::Versions;
sub simple_method : v1 {
return 'version 1';
sub simple_method : v2 {
return 'version 2';


Package Version Architecture Repository
perl-Sub-Versions - - -


Name Value
/usr/share/perl5 -
perl(Devel/ -
perl(Sub/ -
perl-base >= 1:5.14.0
rpmlib(PayloadIsLzma) -


Name Value
perl(Sub/ = 1.020
perl-Sub-Versions = 1.02-alt1


Type URL
Binary Package perl-Sub-Versions-1.02-alt1.noarch.rpm
Source Package perl-Sub-Versions-1.02-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Sub-Versions rpm package:
    # sudo apt-get install perl-Sub-Versions



See Also

Package Description
perl-Sub-Versive-0.01-alt1.noarch.rpm perl module Sub-Versive
perl-Sub-Way-0.02-alt1.noarch.rpm several ways of matching
perl-Sub-WrapPackages-2.01-alt1_4.noarch.rpm Add wrappers around all the subroutines in packages
perl-Subclass-Of-0.007-alt1.noarch.rpm import a magic subclass
perl-Submodules-1.0014-alt1.noarch.rpm Efficient way to load or handle all submodules for a specific package
perl-Sudo-0.33-alt1.noarch.rpm Perl extension for running a command line sudo
perl-Suffix-Trie-0.1-alt1.noarch.rpm >new("mississippi");
perl-SugarSync-API-0.07-alt1.noarch.rpm Basic API to SugarSync cloud file sharing
perl-Suggest-PrePop-2.1.1-alt1.noarch.rpm suggestions based on prefix and popularity
perl-Summerset-IsbnConverter-1.00-alt1.noarch.rpm perl module Summerset-IsbnConverter
perl-Sunpower-Cryocooler-0.1.5-alt1.noarch.rpm a module for interfacing with Sunpower Cryocoolers
perl-SuperPython-0.91-alt1.noarch.rpm perl module SuperPython
perl-SuperSplit-0.06-alt1.noarch.rpm perl module SuperSplit
perl-Supers-Search-1.123431-alt1.noarch.rpm Nothing here to see yet!
perl-Supervisord-Client-0.22-alt1.noarch.rpm a perl client for Supervisord's XMLRPC