DEBFIND Suche nach Debian-Paketen

Suchplatform für Softwarepakete und Archive Debian-basierter Linux-Distributionen

beta ! Diese website wird noch weiterentwickelt.

Liste aller Kategorien/Sektionen | Suchmaske | Haftungsausschluß

Paketbeschreibung


Paketnamelibuniversal-require-perl
BeschreibungLoad modules from a variable
Archiv/RepositoryOffizielles Ubuntu Archiv lucid (universe)
Version0.13-1
Sektionuniverse/perl
Prioritätoptional
Installierte Größe64 Byte
Hängt ab vonperl (>= 5.6.0-16)
Empfohlene Pakete
PaketbetreuerUbuntu MOTU Developers
Quelle
Paketgröße8918 Byte
Prüfsumme MD516ee141e9c0f18501060c03ed0c0c72e
Prüfsumme SHA1d721136e7a40159425db687f185dace477283efc
Prüfsumme SHA256814724b17ab2b24b9431784abca3dd086e9255d1a34b57a506fbd58c518c1ac0
Link zum Herunterladenlibuniversal-require-perl_0.13-1_all.deb
Ausführliche BeschreibungThis works exactly like the standard require in Perl, except without the bareword restriction, and it does not die. Since require() is placed in the UNIVERSAL namespace, it will work on any module. You just have to use UNIVERSAL::require somewhere in your code. . If you have ever had to do this... . eval "require $module"; . to get around the bareword caveats on require(), this module is for you. It creates a universal require() class method that will work with every Perl module and it is secure. So instead of doing some arcane eval() work, you can do this: . $module->require; . It does not save you much typing, but it will make a lot more sense to someone who is not a ninth level Perl acolyte. . Also provided is a use() method which works in a similar way.


Impressum
Linux is a registered trademark of Linus Torvalds