perl-anywhere-0.002-alt1.noarch.rpm


Advertisement

Description

perl-anywhere - Use a module (or feature) everywhere

Distribution: ALT Linux Sisyphus
Repository: Autoimports noarch
Package name: perl-anywhere
Package version: 0.002
Package release: alt1
Package architecture: noarch
Package type: rpm
Installed size: 24.21 KB
Download size: 24.21 KB
Official Mirror: ftp.altlinux.org
`anywhere' is a fork of the everywhere manpage 0.07 while waiting my proposed change to be merged (if ever). It currently only has one difference compared to `everywhere': it sets `%INC' entry to the file path instead of letting Perl set it to `CODE(0x...)' so other modules see the used module more normally and `anywhere' can work with things like the true manpage. The rest is from the everywhere manpage documentation: I got tired of putting "use 5.010" at the top of every module. So now I can throw this in my toplevel program and not have to Repeat Myself elsewhere. In theory you should be able to pass it whatever you pass to use. Also, I just made it so you can do: use anywhere 'MooseX::Declare', matching => '^MyApp', use_here => 0; for example and then it will only apply this module to things matching your regex. And not use it here. You can also throw in 'package_level => 1' to use your package after every "package ..." line. All these are experimental :)

Alternatives

Requires

  • /usr/share/perl5
  • rpmlib(PayloadIsLzma)

Provides

  • perl(anywhere.pm) = 0.070
  • perl-anywhere = 0.002-alt1

    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      
    2. Update the package index:
      # sudo apt-get update
    3. Install perl-anywhere rpm package:
      # sudo apt-get install perl-anywhere

    Files

    • /usr/share/doc/perl-anywhere-0.002/Changes
    • /usr/share/doc/perl-anywhere-0.002/LICENSE
    • /usr/share/doc/perl-anywhere-0.002/README
    • /usr/share/perl5/anywhere.pm
    Advertisement
    Advertisement