Schedule

Schedule

Wednesday, March 4

1425513600 Tech News 2Night
1425515400 Android App Arena
1425520800 Ham Nation

Thursday, March 5

1425578400 Tech News Today
1425582000 Know How...
1425587400 Marketing Mavericks
1425592800 Home Theater Geeks
1425600000 Tech News 2Night
1425601800 The Giz Wiz

Friday, March 6

1425664800 Tech News Today
1425668400 This Week in Law
1425679200 Before You Buy
1425686400 Tech News 2Night
1425690000 Padre's Corner

Saturday, March 7

1425754800 The Tech Guy

Sunday, March 8

1425837600 The Tech Guy
1425852000 This Week in Tech

Monday, March 9

1425920400 Tech News Today
1425924000 Triangulation
1425929400 iPad Today
1425936600 Coding 101
1425942000 Tech News 2Night

Tuesday, March 10

1426006800 Tech News Today
1426010400 MacBreak Weekly
1426019400 Security Now
1426028400 Tech News 2Night
1426032000 All About Android

Wednesday, March 11

1426087800 FLOSS Weekly
1426093200 Tech News Today
1426096800 Windows Weekly
1426104000 This Week in Google
1426114800 Tech News 2Night
1426116600 Android App Arena
1426122000 Ham Nation

Thursday, March 12

1426179600 Tech News Today
1426183200 Know How...
1426188600 Marketing Mavericks
1426194000 Home Theater Geeks
1426201200 Tech News 2Night
1426203000 The Giz Wiz

Friday, March 13

1426266000 Tech News Today
1426269600 This Week in Law
1426280400 Before You Buy
1426287600 Tech News 2Night
1426291200 Padre's Corner

Saturday, March 14

1426356000 The Tech Guy

Most Recent Episodes

FLOSS Weekly

Inter-organization cooperation software for cleanup at disaster sites.

Tech News Today

More updates from Mobile World Congress 2015.

All About Android

Mobile World Congress, HTC One M9 and hands on with the Samsung Galaxy S6.

TWiT Live Specials

Acer Liquid M220, Alcatel OneTouch Idol 3, Gionee Elife S5.1, and more.

Security Now

SoHo router backdoors, web-based encryption service, evolution of DNS

Tech News 2Night

Shilling pitches back at trolls.

MacBreak Weekly

Apple Watch leaks.

Tech News Today

Updates from Mobile World Congress Day 2.

Coding 101

We finish our Arduino clock.

Tech News 2Night

Google Wireless is coming.

Coding 101 21

Perl: Getting Started

June 12 2014

Hosts: Fr. Robert Ballecer, SJ and Shannon Morse

Guest: Patrick Delahanty

Ivory Tower

Control Structures
* The structure of Perl is more like C# than Python
-- While Python uses whitespace to delineate lines of code, Perl uses ";" a semicolon
-- Also like C#, Perl uses "{}" Curly brackets to create BLOCKS of code

Variables
* Much like Python, Perl doesn't require you to declare variables seperately from expressions.
* You can declare variable WITHIN the expression.

Perl offers three types of variables: Scalars, Arays and Associative Arrays
* We're going to show you the first two: Scalars and Arrays

Printing in Perl
* Printing in Perl works much in the same way as printing in Python
* You can print numbers, strings, variables, and combinations thereof.

Scalars
* These are either numbers or strings
* Perl doesn't require you to mark a variable as either a number or a string... it all looks the same to Perl
* Perl also doesn't require you to differerentiate between integers and real numbers

Usage of Scalars:
* You declare a scalar variable by using "$" right befofe the name of the variable
$Var1 = 28 Creates a variable named "Var1" containing the integer "4"
$Var2 = "Coding 101" Crates a variable named "Var2" containing the string "Coding 101"
$Var3 = 3.14 Creates a variable named "Var3" containing the decimal number "4.5"

Arrays
* An array is a ONE-DIMENSIONAL indexed list of Scalar variables

Usage of Arrays
* You declare an array by using "@" right before the name of the array
* Individual scalar variables within the array can be accessed by pointing to their index with the SCALAR identifier
@C101 = ("Padre", "Snubs", "Bryan") Creates an array named "C101" and fills it with the strings, "Padre", "Snubs" and "Bryan"
@coding = @c101 Creates an array called, "coding" and fills it with the values from the array "c101"
$C101[2] = "Cranky Hippo" Changes the value in the third item in the array "C101" from "Bryan" to "Cranky Hippo"

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!
*Check out our transcripts.

Bandwidth for Coding 101 is provided by Cachefly.

Running time: 42:03