Schedule

Schedule

Saturday, May 23

1432404000 The Tech Guy

Sunday, May 24

1432490400 The Tech Guy
1432504800 This Week in Tech

Monday, May 25

1432573200 Tech News Today
1432576800 Triangulation
1432582200 iOS Today
1432589400 Coding 101
1432594800 Tech News 2Night

Tuesday, May 26

1432659600 Tech News Today
1432663200 MacBreak Weekly
1432672200 Security Now
1432681200 Tech News 2Night
1432684800 All About Android

Wednesday, May 27

1432740600 FLOSS Weekly
1432746000 Tech News Today
1432749600 Windows Weekly
1432756800 This Week in Google
1432767600 Tech News 2Night
1432769400 Android App Arena
1432774800 Ham Nation

Thursday, May 28

1432832400 Tech News Today
1432836000 Know How...
1432846800 Home Theater Geeks
1432854000 Tech News 2Night

Friday, May 29

1432918800 Tech News Today
1432922400 This Week in Law
1432933200 Before You Buy
1432940400 Tech News 2Night

Saturday, May 30

1433008800 The Tech Guy

Sunday, May 31

1433095200 The Tech Guy
1433109600 This Week in Tech

Monday, June 1

1433178000 Tech News Today
1433181600 Triangulation
1433187000 iOS Today
1433194200 Coding 101
1433199600 Tech News 2Night

Most Recent Episodes

This Week in Law

A California appeals court lifts ban on the "Innocence of Muslims" video on YouTube.

Tech News 2Night

Selena Larsen joins us to discuss accessibility, iOS9, and WWDC rumors.

Tech News Today

Apple Round-up, Google Scrambles, and Russia threatens.

Home Theater Geeks

HDR, High Frame Rate, virtual reality, and more.

Tech News 2Night

Jill Duffy gives us tech tips for booking travel

Know How...

Padre gets hit by a packet storm.

This Week in Computer Hardware

Robert Heron guest hosts

Tech News Today

We dive deep into the subject of online trolls.

Ham Nation

Gordon West, George Thomas and the Ham Nation Crew talk of their adventures at Dayton Hamvention.

This Week in Google

Google's own self-driving cars will hit public roads this summer

Coding 101 28

Perl: The Wonderful World of CPAN

July 31 2014

Hosts: Fr. Robert Ballecer, SJ and Shannon Morse

Guest: Patrick Delahanty

The Code for today's show is availible at our: Github

Ivory Tower

Let's talk about CPAN
- "The Comprehensive Perl Archive Network"

One of the greatest benefits of programing in a modern language like PERL is the fact that you can take advantage of the work of tens or hundreds of thousands (millions?) of other programmers.

CPAN has more than 136k PERL modules that you can download and use without for free and without royalty.

So let's figure out how to get a module from SPAN
1. Drop into the Command Line (or Terminal)
2. Type: "perl - MCPAN -e shell"
-- If you've never used CPAN before, you MAY get a message saying that it's downloading all the necessary packaged and repositories to make CPAN work.
-- Let it download and install all the necessary packages

* Once it's done, you'll get a "cpan>" prompt.

Now let's search for some modules!
* I'm going to look for LWP modules
-- "LWP" is short for "Library for WWW in Perl"
-- It's a set of very popular modules that allow you to access data on the World Wide Web.

3. Type: "i /LWP::/"
-- This will search for all LWP modules
** "i" will invoke a search -- /LWP is the argument for the search :: "/" tells it to look for ALL LWP modules

4. Install the Module!
-- "install (name of module)
-- In our instance, I want to install the module called "LWP::UserAgent::POE"
** So I type: "install LWP:UserAgent:POE"

* PERL will automatically download the module, unzip it, install the package.
- Let it do it's thing... and you're ready to use the module!

* If you go to your PERL folder, you should be able to find the files that were just installed
-- C:\Perl64\cpan\build\

Get in Touch With Us!

* Subscribe and get Coding 101 automatically at TWiT.tv!
* Follow PadreSJ and Snubs on Twitter.
* Watch the show live and join the chatroom every Thursday at 1:30pm PST.
* Email us at Padre@twit.tv and Shannon@twit.tv.
* Join our Google+ Community!
*Also, check out our transcripts.