This document provides an introduction to CPAN (Comprehensive Perl Archive Network), which is a repository for Perl modules and programs. It discusses how to install and configure a local Perl installation and leverage CPAN to easily install additional modules without modifying the system-wide Perl installation. The document also covers how to configure CPAN settings, install and update modules manually or via the CPAN shell, and find information on module quality and reviews.
This slide was presented at FPGA Extreme Conference #6 held at Dowango on Feb 1st, 2015. (It was originally in Japanese but translated to English)
Audience of the presentation was people new to OpenFlow and network processing using hardware, but interested in how FPGA is used in network processing.
Event home page (only Japanese)
http://connpass.com/event/10638/
CDMA Transmitter and Receiver Implementation Using FPGAIOSR Journals
Abstract: Code Division Multiple Access (CDMA) is a spread spectrum technique that uses neither frequency channels nor time slots. With CDMA, the narrow band message (typically digitized voice data) is multiplied by a large bandwidth signal that is a pseudo random noise code (PN code). All users in a CDMA system use the same frequency band and transmit simultaneously. The transmitted signal is recovered by correlating the received signal with the PN code used by the transmitter. The DS - CDMA is expected to be the major medium access technology in the future mobile systems owing to its potential capacity enhancement and the robustness against noise. The CDMA is uniquely featured by its spectrum-spreading randomization process employing a pseudo-noise (PN) sequence, thus is often called the spread spectrum multiple access (SSMA). As different CDMA users take different PN sequences, each CDMA receiver can discriminate and detect its own signal, by regarding the signals transmitted by other users as noise- like interferences. In this project direct sequence principle based CDMA transmitter and receiver is implemented in VHDL for FPGA. Modelsim 6.2(MXE) tool will be used for functional and logic verification at each block. The Xilinx synthesis technology (XST) of Xilinx ISE 9.2i tool will be used for synthesis of transmitter and receiver on FPGA Spartan 3E. Keywords: CDMA, DSSS, BPSK, GOLD code.
NETWORK ENERGY SAVING TECHNOLOGIES FOR GREEN WIRELESS ACCESS NETWORKSMadhav Thekkedath
Now a day smart phone users are increased and the energy consumption problem in mobile industry has become crucial. For the growth of mobile industry energy efficiency of the system must be improved. In order to improve the methods of network energy usage usually reduction of the Base Stations are to be employed.
The mobile industry faces a critical energy consumption challenge. By 2014 smart phones will exceed 1.82 billion units and surpass PCs as the most common web access devices. That’s why it is one of the important things. As all know that a smart is mainly for easy access to the network at anytime and anywhere. So it employs powering up all the Radio Base Stations (RBS’s) at maximum power. Since there are more number of service providers competition exist at the field of telecommunication. So it yields in more energy consumption to get monopoly among them. In the field of engineering, a system is usually designed to transform energy to useful work. Energy Efficiency can therefore be defined as the ratio of useful work to the total supplied energy. The useful work in a communication system refers to the effort to deliver modulated signals for information exchange. The definition of Energy Efficiency varies according to measured objects. There are two basic methods to measure Energy Efficiency. One way is to define Energy Efficiency as the ratio of efficient output power/energy to total input power/energy. This definition is widely used by systems and components such as power supply, Power Amplifiers, and antennas. The other way defines Energy Efficiency as the performance per unit of energy consumption.
The seminar gives a brief description about the methods to manage the network energy even when the on time access to network by mobile phones. Also gives a summary about existing and latest methodologies about the management in RBS’s.
Get an update from PCB Layout as this presentation walks through the latest techniques to help tackle your tough PCB design challenges. It will cover constraint management, advanced multi-signal routing, DDR implementation, automated placement & reuse, and more. View if you want learn how you can save time and reduce errors during PCB layout.
This slide was presented at FPGA Extreme Conference #6 held at Dowango on Feb 1st, 2015. (It was originally in Japanese but translated to English)
Audience of the presentation was people new to OpenFlow and network processing using hardware, but interested in how FPGA is used in network processing.
Event home page (only Japanese)
http://connpass.com/event/10638/
CDMA Transmitter and Receiver Implementation Using FPGAIOSR Journals
Abstract: Code Division Multiple Access (CDMA) is a spread spectrum technique that uses neither frequency channels nor time slots. With CDMA, the narrow band message (typically digitized voice data) is multiplied by a large bandwidth signal that is a pseudo random noise code (PN code). All users in a CDMA system use the same frequency band and transmit simultaneously. The transmitted signal is recovered by correlating the received signal with the PN code used by the transmitter. The DS - CDMA is expected to be the major medium access technology in the future mobile systems owing to its potential capacity enhancement and the robustness against noise. The CDMA is uniquely featured by its spectrum-spreading randomization process employing a pseudo-noise (PN) sequence, thus is often called the spread spectrum multiple access (SSMA). As different CDMA users take different PN sequences, each CDMA receiver can discriminate and detect its own signal, by regarding the signals transmitted by other users as noise- like interferences. In this project direct sequence principle based CDMA transmitter and receiver is implemented in VHDL for FPGA. Modelsim 6.2(MXE) tool will be used for functional and logic verification at each block. The Xilinx synthesis technology (XST) of Xilinx ISE 9.2i tool will be used for synthesis of transmitter and receiver on FPGA Spartan 3E. Keywords: CDMA, DSSS, BPSK, GOLD code.
NETWORK ENERGY SAVING TECHNOLOGIES FOR GREEN WIRELESS ACCESS NETWORKSMadhav Thekkedath
Now a day smart phone users are increased and the energy consumption problem in mobile industry has become crucial. For the growth of mobile industry energy efficiency of the system must be improved. In order to improve the methods of network energy usage usually reduction of the Base Stations are to be employed.
The mobile industry faces a critical energy consumption challenge. By 2014 smart phones will exceed 1.82 billion units and surpass PCs as the most common web access devices. That’s why it is one of the important things. As all know that a smart is mainly for easy access to the network at anytime and anywhere. So it employs powering up all the Radio Base Stations (RBS’s) at maximum power. Since there are more number of service providers competition exist at the field of telecommunication. So it yields in more energy consumption to get monopoly among them. In the field of engineering, a system is usually designed to transform energy to useful work. Energy Efficiency can therefore be defined as the ratio of useful work to the total supplied energy. The useful work in a communication system refers to the effort to deliver modulated signals for information exchange. The definition of Energy Efficiency varies according to measured objects. There are two basic methods to measure Energy Efficiency. One way is to define Energy Efficiency as the ratio of efficient output power/energy to total input power/energy. This definition is widely used by systems and components such as power supply, Power Amplifiers, and antennas. The other way defines Energy Efficiency as the performance per unit of energy consumption.
The seminar gives a brief description about the methods to manage the network energy even when the on time access to network by mobile phones. Also gives a summary about existing and latest methodologies about the management in RBS’s.
Get an update from PCB Layout as this presentation walks through the latest techniques to help tackle your tough PCB design challenges. It will cover constraint management, advanced multi-signal routing, DDR implementation, automated placement & reuse, and more. View if you want learn how you can save time and reduce errors during PCB layout.
The Long Term Evolution (LTE) is the latest step in an advancing series of mobile telecommunications systems. In this paper, authors show interest on the security features and the cryptographic algorithms used to ensure confidentiality and integrity of the transmitted data. A closer look is taken upon EPS confidentiality and integrity algorithms. The authors also defined AKA, AS and NAS security and key derivations during normal Attach process and Handover also.
View all Sessions
Kashif Islam, Solutions Architect , Cisco
Jay Romero, Sr. Director, IT Operations , Erickson Living
Come and learn how Erickson Living achieved deployment success using Cisco ME4600 based GPON Solution. Guest Presenter: Jay Romero, Sr.Director - IT Operations. Passive Optical Networks (PON) provides an effective and efficient way of providing fiber based high speed access to residential and business users. With the ever-growing demand for higher bandwidth, service providers are looking for fiber solutions that are cost-effective and easy to deploy and manage. This session will provide an insight into PON technology, with a focus on Gigabit-Capable PON. Attendees will learn basic design principles and applicable use cases for architecting a GPON Network using the Cisco ME4600 OLT and ONT/ONU. The presentation will outline the requirements to configure and verify an end-to-end service over ME4600 OLT. Redundancy mechanisms, such as Type B protection, in a GPON based environment will also be covered Attendees will walk away from this session with a firm understanding of the GPON technology, a clear view of applicability of GPON vs point-to-point ethernet for varius scenarios and reference designs for an effective, fast and reliable GPON network using Cisco ME4600 series of OLT and ONT products.
1: Direct sequence and frequency hopped spread spectrum, spreading sequence and their correlation functions, Acquisition and tracking of spread spectrum signals.
2: Error probability for DS-CDMA, on AWGN channels, DS-CDMA on frequency selective fading, channels, Performance analysis of cellular CDMA.
3: Capacity estimation, Power control, effect of imperfect power control on DS CDMA performance, Soft Handoffs.
4: Spreading /coding tradeoffs, multi-carrier CDMA, IS-95 CDMA system, third generation CDMA systems, multi-user detection.
This updated presentation/video looks at 5G Network Architecture options that have been proposed by 3GPP for deployment of 5G. It covers the Standalone (SA) and Non-Standalone (NSA) architecture. In the NSA architecture, EN-DC (E-UTRA-NR Dual Connectivity), NGEN-DC (NG-RAN E-UTRA-NR Dual Connectivity) and NE-DC (NR-E-UTRA Dual Connectivity) has been looked at. Finally, migration strategies proposed by vendors and operators (MNOs / SPs) have been discussed.
System on Chip is a an IC that integrates all the components of an electronic system. This presentation is based on the current trends and challenges in the IP based SOC design.
With more businesses moving to cloud-based solutions everyday, we must re-think the strategies used to deploy Perl applications and related libraries, given the volatile aspects of the cloud and its constraints.
In this talk I go over the challenges posed by virtualised environments, and consider several solutions to them. The use cases are all related to Amazon's EC2, but will easily be adapted for GoGrid, Mosso, and others.
Your Hive honeymoon can be cut short if you don't take the necessary precautions. In this talk I'll share my experience with Hive in the last 3 years (in Elastic MapReduce and Cloudera CDH3), describing what I got wrong the first time around, and what eventually saved the day. I've used Hive in environments with a number of events ranging from a few million to a few billion a day, so hopefully there'll be something for everyone.
The Long Term Evolution (LTE) is the latest step in an advancing series of mobile telecommunications systems. In this paper, authors show interest on the security features and the cryptographic algorithms used to ensure confidentiality and integrity of the transmitted data. A closer look is taken upon EPS confidentiality and integrity algorithms. The authors also defined AKA, AS and NAS security and key derivations during normal Attach process and Handover also.
View all Sessions
Kashif Islam, Solutions Architect , Cisco
Jay Romero, Sr. Director, IT Operations , Erickson Living
Come and learn how Erickson Living achieved deployment success using Cisco ME4600 based GPON Solution. Guest Presenter: Jay Romero, Sr.Director - IT Operations. Passive Optical Networks (PON) provides an effective and efficient way of providing fiber based high speed access to residential and business users. With the ever-growing demand for higher bandwidth, service providers are looking for fiber solutions that are cost-effective and easy to deploy and manage. This session will provide an insight into PON technology, with a focus on Gigabit-Capable PON. Attendees will learn basic design principles and applicable use cases for architecting a GPON Network using the Cisco ME4600 OLT and ONT/ONU. The presentation will outline the requirements to configure and verify an end-to-end service over ME4600 OLT. Redundancy mechanisms, such as Type B protection, in a GPON based environment will also be covered Attendees will walk away from this session with a firm understanding of the GPON technology, a clear view of applicability of GPON vs point-to-point ethernet for varius scenarios and reference designs for an effective, fast and reliable GPON network using Cisco ME4600 series of OLT and ONT products.
1: Direct sequence and frequency hopped spread spectrum, spreading sequence and their correlation functions, Acquisition and tracking of spread spectrum signals.
2: Error probability for DS-CDMA, on AWGN channels, DS-CDMA on frequency selective fading, channels, Performance analysis of cellular CDMA.
3: Capacity estimation, Power control, effect of imperfect power control on DS CDMA performance, Soft Handoffs.
4: Spreading /coding tradeoffs, multi-carrier CDMA, IS-95 CDMA system, third generation CDMA systems, multi-user detection.
This updated presentation/video looks at 5G Network Architecture options that have been proposed by 3GPP for deployment of 5G. It covers the Standalone (SA) and Non-Standalone (NSA) architecture. In the NSA architecture, EN-DC (E-UTRA-NR Dual Connectivity), NGEN-DC (NG-RAN E-UTRA-NR Dual Connectivity) and NE-DC (NR-E-UTRA Dual Connectivity) has been looked at. Finally, migration strategies proposed by vendors and operators (MNOs / SPs) have been discussed.
System on Chip is a an IC that integrates all the components of an electronic system. This presentation is based on the current trends and challenges in the IP based SOC design.
With more businesses moving to cloud-based solutions everyday, we must re-think the strategies used to deploy Perl applications and related libraries, given the volatile aspects of the cloud and its constraints.
In this talk I go over the challenges posed by virtualised environments, and consider several solutions to them. The use cases are all related to Amazon's EC2, but will easily be adapted for GoGrid, Mosso, and others.
Your Hive honeymoon can be cut short if you don't take the necessary precautions. In this talk I'll share my experience with Hive in the last 3 years (in Elastic MapReduce and Cloudera CDH3), describing what I got wrong the first time around, and what eventually saved the day. I've used Hive in environments with a number of events ranging from a few million to a few billion a day, so hopefully there'll be something for everyone.
My ramblings about how I think the Perl community should target newcomers in its marketing efforts, and how I've come to appreciate Python and Java's standard libraries and toolsets.
Hadoop isn't limited to running Java code, you can write your jobs in a variety of dynamic languages.
This talk is about Hadoop's Streaming API, and the best way we found to run Perl jobs on Amazon's Elastic MapReduce platform.
Building a Perl5 smoketest environment in Docker using CPAN::Reporter::Smoker. Includes an overview of "smoke testing", shell commands to contstruct a hybrid environment with underlying O/S image and data volumes for /opt, /var/lib/CPAN. This allows maintaining the Perly smoke environemnt without having to rebuild it.
This presentation is a preparation for PHP Test Fest 2009 (http://qa.php.net/testfest). See your local PHP user group for details of this world wide event.
Essentials of Automations: The Art of Triggers and Actions in FMESafe Software
In this second installment of our Essentials of Automations webinar series, we’ll explore the landscape of triggers and actions, guiding you through the nuances of authoring and adapting workspaces for seamless automations. Gain an understanding of the full spectrum of triggers and actions available in FME, empowering you to enhance your workspaces for efficient automation.
We’ll kick things off by showcasing the most commonly used event-based triggers, introducing you to various automation workflows like manual triggers, schedules, directory watchers, and more. Plus, see how these elements play out in real scenarios.
Whether you’re tweaking your current setup or building from the ground up, this session will arm you with the tools and insights needed to transform your FME usage into a powerhouse of productivity. Join us to discover effective strategies that simplify complex processes, enhancing your productivity and transforming your data management practices with FME. Let’s turn complexity into clarity and make your workspaces work wonders!
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
The Metaverse and AI: how can decision-makers harness the Metaverse for their...Jen Stirrup
The Metaverse is popularized in science fiction, and now it is becoming closer to being a part of our daily lives through the use of social media and shopping companies. How can businesses survive in a world where Artificial Intelligence is becoming the present as well as the future of technology, and how does the Metaverse fit into business strategy when futurist ideas are developing into reality at accelerated rates? How do we do this when our data isn't up to scratch? How can we move towards success with our data so we are set up for the Metaverse when it arrives?
How can you help your company evolve, adapt, and succeed using Artificial Intelligence and the Metaverse to stay ahead of the competition? What are the potential issues, complications, and benefits that these technologies could bring to us and our organizations? In this session, Jen Stirrup will explain how to start thinking about these technologies as an organisation.
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...SOFTTECHHUB
The choice of an operating system plays a pivotal role in shaping our computing experience. For decades, Microsoft's Windows has dominated the market, offering a familiar and widely adopted platform for personal and professional use. However, as technological advancements continue to push the boundaries of innovation, alternative operating systems have emerged, challenging the status quo and offering users a fresh perspective on computing.
One such alternative that has garnered significant attention and acclaim is Nitrux Linux 3.5.0, a sleek, powerful, and user-friendly Linux distribution that promises to redefine the way we interact with our devices. With its focus on performance, security, and customization, Nitrux Linux presents a compelling case for those seeking to break free from the constraints of proprietary software and embrace the freedom and flexibility of open-source computing.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
A tale of scale & speed: How the US Navy is enabling software delivery from l...sonjaschweigert1
Rapid and secure feature delivery is a goal across every application team and every branch of the DoD. The Navy’s DevSecOps platform, Party Barge, has achieved:
- Reduction in onboarding time from 5 weeks to 1 day
- Improved developer experience and productivity through actionable findings and reduction of false positives
- Maintenance of superior security standards and inherent policy enforcement with Authorization to Operate (ATO)
Development teams can ship efficiently and ensure applications are cyber ready for Navy Authorizing Officials (AOs). In this webinar, Sigma Defense and Anchore will give attendees a look behind the scenes and demo secure pipeline automation and security artifacts that speed up application ATO and time to production.
We will cover:
- How to remove silos in DevSecOps
- How to build efficient development pipeline roles and component templates
- How to deliver security artifacts that matter for ATO’s (SBOMs, vulnerability reports, and policy evidence)
- How to streamline operations with automated policy checks on container images
Welcome to the first live UiPath Community Day Dubai! Join us for this unique occasion to meet our local and global UiPath Community and leaders. You will get a full view of the MEA region's automation landscape and the AI Powered automation technology capabilities of UiPath. Also, hosted by our local partners Marc Ellis, you will enjoy a half-day packed with industry insights and automation peers networking.
📕 Curious on our agenda? Wait no more!
10:00 Welcome note - UiPath Community in Dubai
Lovely Sinha, UiPath Community Chapter Leader, UiPath MVPx3, Hyper-automation Consultant, First Abu Dhabi Bank
10:20 A UiPath cross-region MEA overview
Ashraf El Zarka, VP and Managing Director MEA, UiPath
10:35: Customer Success Journey
Deepthi Deepak, Head of Intelligent Automation CoE, First Abu Dhabi Bank
11:15 The UiPath approach to GenAI with our three principles: improve accuracy, supercharge productivity, and automate more
Boris Krumrey, Global VP, Automation Innovation, UiPath
12:15 To discover how Marc Ellis leverages tech-driven solutions in recruitment and managed services.
Brendan Lingam, Director of Sales and Business Development, Marc Ellis
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfPeter Spielvogel
Building better applications for business users with SAP Fiori.
• What is SAP Fiori and why it matters to you
• How a better user experience drives measurable business benefits
• How to get started with SAP Fiori today
• How SAP Fiori elements accelerates application development
• How SAP Build Code includes SAP Fiori tools and other generative artificial intelligence capabilities
• How SAP Fiori paves the way for using AI in SAP apps
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
2. Nitpicking
• “Perl” is the language specification
• and the noun (“the Perl community”, “a
Perl program”)
• and the distribution (“the Perl tar ball”)
• “perl” is a compiler implementing the
language specification (currently, Perl 5)
• There is no “PERL”
4. Running Perl
Compiler
• the “perl” bit
• jit compiler
• configuration assembled at build time, most
(all?) of it can be overridden at runtime
• namely, the library path to use
6. Running Perl
Standard Library
• modules distributed with Perl
• Module::CoreList
• 602 modules as of 5.8.8
7. Running Perl
Local build
• Perl pre-installed everywhere
• vendor may overwrite your modifications
• you may break stuff
• always use a local package
8. Running Perl
Local build
• Compile:
sh Configure -de -Dusethreads
make && make test && make install
(cd /usr/include && /usr/local/
bin/h2ph *.h sys/*.h)
• uses /usr/local by default
• good enough most of the times
9. Running Perl
Local build
• Common options:
• -Dcc=gcc
• -Dprefix=/opt/builds/perl
• -Dlocincpth=”/foo/bar/include”
• -Dloclibpth=”/foo/bar/lib”
13. Why CPAN
• laziness
• re-inventing the wheel (not)
• code reuse
• tested and tried
• around 250 mirrors worldwide
• approximately 13000 modules
• lots of crap...
14. How to use CPAN
• Manually
• There’s a module for it
perl -MCPAN -e shell
• There’s a script for it
cpan
15. CPAN manual usage
• Search for a module
• http://search.cpan.org/
• Search for its dependencies
• http://cpandeps.cantrell.org.uk/
• Start with dependencies and install one by
one
• Tedious and time-consuming (e.g., Catalyst
depends on hundreds of modules)
21. CPAN manual usage
(continued)
•Procedure:
tar zxf Sample-Module-1.0.tar.gz
cd Sample-Module-1.0
perl Makefile.PL
make
make test
make install
22. The CPAN module
• Lots of built-in facilities
• search
• automatic installation of dependencies
• look inside a distribution’s tar ball
• highly configurable
• You can use it in your programs (have a
look at the source for cpandeps)
23. The CPAN module
(continued)
•Usage:
perl -MCPAN -e shell
i Sample::Module
i /ample/i
look Sample::Module
install Sample::Module
force install Sample::Module (!!!)
24. CPAN Configuration
• in $PERL5LIB/CPAN/Config.pm
• can be hand-edited or...
• using o conf in the CPAN shell
• it’s just a Perl module
25. CPAN Configuration
(continued)
• Location of several utilities CPAN uses
ftp, gpg, gzip, lynx, make, ncftp, pager,
tar, unzip
• Parameters for some of these
e.g., make_arg, ftp_passive
27. CPAN Configuration
(continued)
• the urllist lists the CPAN mirrors we’ll
use
• kept in a hash, %CPAN::Config
• the configuration is itself Perl code
• override system-wide parameters via
MyConfig.pm
28. The CPAN module
(continued)
•More usage:
perl -MCPAN -e ‘install A::Module’
o conf
o conf http_proxy http://proxy:port/
o conf commit
o conf init /REGEXP/
$PERL5LIB/CPAN/Config.pm
failed
test
30. Mirroring CPAN
• A full mirror is around 7gb
• CPAN::Mini and minicpan
• only the newest version of every module
• ~800mb
31. More usage
• Passing arguments to perl Makefile.PL
• Finding outdated modules
• Adding to $PERL5LIB
• Maintaining your own $PERL5LIB
• Smart urllist
32. Passing arguments to
perl Makefile.pl
• no standard
• remember Makefile.PL is a Perl program :)
• and there’s usually a README file or
similar :)
• usually you’ll be able do define environment
variables
CC=gcc perl Makefile.pl
CC=gcc cpan Some::Module
33. Finding outdated
modules
• r command on the CPAN shell
• upgrade command to perform the actual
upgrade
• take a string or a regexp as parameters
34. Adding to $PERL5LIB
• in your code:
use lib qw( /opt/permodules /home/pfig/perllib );
• set PERL5LIB in your profile or startup
scripts:
export PERL5LIB=/opt/perlmodules:/home/pfig/perllib
35. Maintaining your own
$PERL5LIB
• Override the default system installation
• How can i still enjoy the CPAN goodness?
• Don’t piss off your sysadmin
36. Maintaining your own
$PERL5LIB
• Getting -p ~/perl/bin
mkdir
ready:
~/perl/man/man1 ~/perl/man/man3
mkdir -p ~/.cpan/CPAN
cp $PERL5LIB/CPAN/Config.pm
~/.cpan/CPAN/MyConfig.pm
• Debian uses /etc/perl. There’s a special
place in hell for them.
38. Maintaining your own
$PERL5LIB
• Set up your environment
PERL5LIB=~/perl/lib
PERL5MAN=~/perl/man
PATH=$PATH:~/perl/bin
export PERL5LIB PERL5MAN PATH
• Done!
• You now have all the CPAN shininess and
you can get rid of use lib pragmas
39. Smart urllist
• have a local mini mirror
• have the last url of your urllist point to
it via file://
• CPAN will always download its indexes
from one of the sites but it will try to get
the package from your local disk.
• you get up-to-date indexes with no need to
remember to refresh the mirror.
40. Danger, Will Robinson!
• if you run cpan without checking your
path, you may be running the vendor’s cpan
(because chances are /usr/bin appears in
your path before /usr/local/bin)
• the same goes for perl -MCPAN
• And, if installing manually, the perl you use
to run Makefile.PL
41. Which modules to use
• CPAN testers
• http://www.cpantesters.org/
• CPANTS
• http://cpants.perl.org/
• Kwalitee
• http://cpants.perl.org/kwalitee.html
• Reviews on CPAN
• Ask around. Really.
48. Thanks to...
• In no particular order:
• David Cantrell
http://www.cantrell.org.uk/david/tech/
• London.pm
• Pedro Melo
http://simplicidade.org/notes/
• Simon Wistow
http://thegestalt.org/simon/
• And Wizards Larry Wall and the other
Perl
of course
49. A local shop, for local
people
•http://london.pm.org/
• Free beer every month!
• London Perl Workshop (yearly, free)
• london.pm’s tech meetings (free, twice a
year or thereabouts)