Perl Tutorial

preview_player
Показать описание


MY UDEMY COURSES ARE 87.5% OFF TIL December 19th ($9.99) ONE IS FREE

00:00 Intro
02:16 - Intro & Scalars
11:35 - Math
15:40 - Conditionals
23:07 - Looping
28:38 - Strings
35:25 - Arrays
44:30 - Hashes
48:29 - Subroutines
56:00 - File IO
1:00:36 - Object oriented Perl

I cover basically what you would learn in a 250 page book in this one video. We'll learn all the basics plus pragmas, scalars, arrays, hashes, printf, print, math functions, conditionals, boolean operators, if, elsif, else, unless, ternary operator, looping, for, foreach, while, do while, reading input, given, strings functions, s///, ranges, slice, sort, push, pop, join, subroutines, recursive subroutines, packages, object oriented Perl and so much more.

Thank you to Patreon supports like the following for helping me make this video

@kyleaisho
@thetwistedhat
vjFaLk
TheSkogemann
Рекомендации по теме
Комментарии
Автор

Learn in One Videos for Every Programming Language

derekbanas
Автор

this language is so fun!
its easy to read and understand.
why its not popular?

willyhorizont
Автор

54:48 Factorial of zero should be one, not zero. While this may seem like a strange thing, it is actually the most sensible definition: for example, there is one permutation of an empty set.

Автор

As far as I know it's the best available tutorial on youtube, just because it is done by Derek Banas, the best tutorial youtuber I've ever seen.

masoud
Автор

Mr. Banas, you have officially become one of my personal heroes.
You are basically the equivalent of a giga-hyperglot in the world of programming.

joseignacio
Автор

Hi Derek, I’m a Product Engineer at a semiconductor company where my manager recommended I learn scripting. I always thought I was more of a formal structured approach kind of guy so when I was told to learn from YouTube I was skeptical about getting anywhere. However, after watching your Perl tutorial, I was proven wrong. For that reason, I plan to watch your video on Pandas.
For those of you who are unfamiliar with Derek’s work, in my humble opinion, what I’d recommend doing is just practicing each programming capability Derek talks about and save the scripts in which you practice them. That will help tackle the unfamiliar syntax barrier rapidly. The rest of course, is down to rigorous internet searches, print statements for program flow tracking and a willingness to solve a problem.

badribaskaran
Автор

Thank you Derek. Your Perl tutorial is easier to understand and contains all the core concepts in Perl.

albertovizcondeiii
Автор

On timeline 53:00, $_ is a scalar variable used with or within any loop. @_ is an array with the arguments passed to the given subroutine.

sukumarsa
Автор

Love the pace of your videos.


At 21:53 isn't your example for "unless" giving the wrong behavior? You wrote:

unless (!$is_not_intoxicated) {
print "Get Sober";
}

So that's three negatives: one for the unless, one for the "!", and one for the "_not_" in the variable definition. So the statement I think is equivalent to:

if ($is_not_intoxicated) {
print "Get Sober";
}



So you're printing "Get Sober" when the person is not intoxicated which I don't think is what you really intended.

matthewbusche
Автор

Absolutely the best ever video tutorial for Perl programming so far in the internet

swadhikarc
Автор

I was only interested in Perl, but this video is just so well done, I'll have to check out more of your videos.

michaelh
Автор

On timeline 51:00, the array @_ contains the parameters passed to that subroutine, if written within a subroutine .

sukumarsa
Автор

Derek! Really cool to see you do a Perl tut! A great language that many folks have forgotten about! Happy tutorialing!

aaronwells
Автор

Pls add a 0:00 time stampt o get youtube chapters.

jorajungs
Автор

Impressive how one man knows so many programming languages. Great tutorial!

leonidas
Автор

Just in case anyone is searching you need to add 'use feature "state" ' for the state example to work.
Awesome tut as always though.

phanCAbe
Автор

These are great and straight to the point! Thanks for not being long-winded. I have one suggestion, for a beginner I might suggest the following correction so a beginner knows what is happening behind the scenes, which they cannot see:
say "6++ = ", $rand_num++; # print (6) THEN ADD (becomes 7)
say "++7 = ", ++$rand_num; # ADD (1) then print (becomes 8)
say "8-- = ", $rand_num--; # print (8) THEN SUBTRACT (becomes 7)
say "--7 = ", --$rand_num; # SUBTRACT (1) then print (becomes 6)

svmba
Автор

i know everybody ask different things but if you could make a simple tutorial on debugging regardless of language or platform it would be very neat just a quick one please with general stuff

pepe
Автор

This tutorial is so clear an concise that I feel myself dumping most of its information into my brain! Definitively I'll check your channel! Kudos!

jrgomez
Автор

Thank you Derek. I really needed the short introduction to the language. I successfully passed the exam with your help.

atulchavan