Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mweckbecker:perl
perl-Sex
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Meta Configuration of Package perl-Sex
<package name="perl-Sex" project="home:mweckbecker:perl"> <title>Sex - Perl teaches the birds and the bees.</title> <description>Heterogeneous recombination of Perl packages. Given two (or more, I'm a liberal guy) packages, Sex.pm will recombine their symbols at random recombining them into the new module thus providing a cross-section of its functions and global variables. It will also push the parent classes onto the child's @ISA array. So you could do: package Net::SFTP; use Sex qw(Net::FTP Net::SSLeay); And get a secure FTP client! The recombination occurs in such a way to ensure that the child will contain -all- the symbols of both parents. Should two (or more) parents wish to bestow the same symbol on its child one will be chosen at random. For example: package DejaNews; use Sex qw(LWP::Simple Net::NNTP); LWP::Simple and Net::NNTP both have a head() function and thus they try to give head() to their child. Sex.pm will suck the head() off either LWP::Simple or Net::NNTP and stick it to DejaNews. Afterwards, DejaNews can procede to finally use its head(). Here's another timely example for Sex in the 21st century: package URI::Bot9000; use Sex qw(URI LWP::RobotUA protected); Because of the dire consequences of having sex with URI, one should make sure you're well protected. # # This package was generated automatically with the cpan2rpm # utility. To get this software or for more information # please visit: http://perl.arix.com/ # </description> <url>http://www.cpan.org</url> </package>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor