Perl part 3: Perl functions and commands

Dr. Rob Edwards from San Diego State University introduces some common Perl functions and commands

Comments

Michael Klug says:

Helpful introduction for me, thank you!

Árpád Goretity says:

That code doesn’t print the sum for the lines. It keeps summing up all the lines accumulatively instead.

Yushu Zhu says:

Very good! I find it very helpful to learning Perl. Thanks.

Krzysztof As says:

4:50
> perl -e ‘my $d = 0; print defined $d’
> 1
– 0 is defined (defined is defined! please, don’t confuse people)
– false is undef or 0
– true is everything else, eg: 1

7:43
1. Library full of objects: https://metacpan.org (eg: Set::Scalar)
2. Good book: http://modernperlbooks.com/ (eg. “Packages and Namespaces”) – which not confuse.
3. Perl 5 is backward compatible and TIMTOWTDI*[1], this isn’t mean that perl isn’t OO http://perldoc.perl.org/perlobj.html + eg: Moose or Object::InsideOut.

*[1]: https://en.wikipedia.org/wiki/There's_more_than_one_way_to_do_it

crist tamiel says:

this is so painfull to watch. Please spare some headaches and use python lol. Perl sucks ass

rambabu koppineni says:

Its Nice

myp410up says:

It’s amazing how terse a Perl program can become. But what’s the advantage of that programming style? Perhaps an experienced Perl programmer will understand the code but to me it appears inscrutable.

 Write a comment

*

Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!