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.
it is also required for the proofs of the concept especially when finding the factorial of numbers less than 1 --i believe the gamma function is involved , too deep for me , but yeah , you are correct !
It goes without saying that it takes great talent to assimilate and master all the knowledge that you possess; but it takes GENUINE GENIUS to be able to teach and synthesize all of this knowledge.
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.
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 UA-cam 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.
I’m very happy that you found my video useful. Yes you are learning exactly as I recommend. Download the code and refer to it while taking notes in your own words. Then experiment and write your own programs using the cheat sheet provided as needed. If you keep this up and with a little help from stackoverflow and such you should grow adept with the language quite quickly. This is especially true once you master basic problem solving skills specific to programming. With my data science videos I both provide videos like this and then hands on real world data science videos. I hope you find them useful.
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)
Actually Insane amount of Information, jam packed in 1 hour. Some parts I had to put the video on 0.75X speed to get all the info. Each line you say is a new learning. Thank you!
don't get discouraged...he does not "know" them all by heart. He learns them and makes videos, which is great! But noone can remember all these languages by heart.
+Super Original Thank you :) Actually most languages differ very little from each other. If I showed how they differ in a chart I think you'd be surprised at how easy it is to switch languages.
+EYM I showed my script in my mean stack tutorial. I think a tight script would cripple my ability to make a tutorial. I freeform a lot in these videos, which is why I make so many mistakes.
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
You are the best Derek, have made things so clear and easy for me i was completely new to Perl but things make alot more sense Thanks. keep the great work :) !!
Regarding that line "my $class = shift;" (the first line in the "new" subroutine of package Animal::Cat): $class is getting the first item on the array @_, but what is that first item? I assume it's a reference to the object being created? By contrast, when you call a normal subroutine that is not part of a package, I assume that the contents of @_ exactly match the argument list from the call. (That is, nothing extra is added to the beginning of @_.) Is that corrrect?
Hi, I forked at timeline 50:00 and discovered something following, but need your help to understand steps here:- use feature 'say'; sub get_max_num{ my ($max_number, @something) = @_; for (@something) { $max_number = $_ if $_ > $max_number; } return $max_number; } say "Maximum Number : ", get_max_num(7,3,5);
Man, I am your subscriber since 2014 and all of your videos beats any other tutorials on UA-cam. How can I donate something, just to show my appreciation for all your effort bringing these awesome classes? Thanx!
+Luiz A. Nickel Thank you for the very nice compliment :) If you can I'd appreciate a $1 on Patreon. It helps me pay for the books I use. If not that is ok as well. I'm just happy that people like the videos.
Can you please make a series on this? I am trying to master perl and I really need some help on it, something like the Python one because I hear perl is more useful in the hacking/coding community, whenever you have the time it would be very useful, thank you!
Whoever uses Linux with Ubuntu version 16, I have a question. Why did they remove *syntax* from VI. The coloring of the words really helped me know if I was doing something wrong. And don't tell me to just use a text editor because I hate those.
Consider using VIM instead of VI. VIM has syntax on by default. For VI, go to command mode (Shift + ;) and write "syntax on", without quotes. But this will only stay on for the active session. You have to but "syntax on" in your .vimrc-file. Google will help =)
tbh this is the best tutorial. made me very clear on $_ and @_ too my $customers takes in a particular input to be held my @customers he used the split so he can split the input into an array(since they are separated by , )
what is the name of your editor or IDE that you are using inside of the Windows (left) side? Is that part of Strawberry or no? It looks like you actually using a MAC and NOT a Windows box there, on the left, judging from the windowing interface widgets My own installation of Strawberry Perl does NOT have your nifty editor or IDE and i cannot do that -- what you do? How are you writing code in one window and running it in another?
There is a lot of development going on in python. But I can't stand that whitespace is a syntax error in python. So I don't even want to both learning it. I think I might learn javascript though.
I also prefer Perl, but maybe it's because I learned it first a long time ago. Another reason is that I love the C language and Perl is closer to C than Python. I never liked the self and underscore weirdness in Python. Unfortunately Python is more actively used these days, and if you have anything to do with Data Science, you will probably have to learn Python since most libraries are written for it.
variable names like "is_not_intoxicated" causes a lot of trouble with double negatives, boolean variables are good when they're always affirmations, in this case Id use "is_intoxicated" and not have to use the operator ! at all, would make the code clearer and easier to understand from a superficial read.
Please tell me the name of the Editor IDE that you are using to write and execute your Perl code into?? Thanks. I am desperately needing to know .... but from the widgets, it seems you are doing it on a Mac?
Thanks again for your videos, keep up the good work :-) regarding the "state" example, I needed to add use feature 'state'; to make it work , not sure how it worked for you.
This is perfect because that's one of the languages I'm studying in my Scripting Language Class! This was where I got the "Ubutu" thing from. My teacher said Strawberry Perl works for Perl too.
So there is a filter (grep) and there is a map (directly as "map") in perl. Is there no equivalent perl function/keyword/special-operator* to "reduce" other than using a for loop**? *special operator -- like $_ | $& | $` | $' | $/ | @_ | $! | $@ | ... **for-loop : # implement "reduce" op my @nums = (1..5); my $total = 0; foreach (@nums) { $total += $_; } - Madhukiran
Thanks a lot for the fast-paced and great tutorial, I have a question, If I have 3 arrays, I want to sort one of them and at the same time sort the other two based on entries in the first one. for example array1 array2 array3 5 d yy 1 c tt 2 a uu after sort: array1 array2 array3 1 c tt 2 a uu 5 d yy Thanks.
I know that I am an absolute newbie to this but I thought that at least each new output would be separated somehow with each new command execution? It kind of sad that the line numbers on the output aren't there.. Can you put Comments on the output to tell you, that you are doing something new? Thanks for any info!
Hey Derek, thank you for all the great tutorials you made :) I have a few requests: Sinatra - It's an awesome, popular framework that I'm getting into, it's really sweet and I found it to be better than Express, which you covered. Different Template Engines - I think that videos of those (haml, ejs, erb, slim, etc.) are easy to make and very useful, since there isn't so much information on many of them. Assembly - I know you said that you're going to make it after electronics, but I'm upping the request here. I would love it if you explained everything very well in detail, since all tutorials that I dealt with were quite confusing. Bash/shell scripting - It's something that can be very useful and I couldn't find many good tutorials on it.
+Nickel Ghost You're very welcome :) I'm planning tutorials on everything you mentioned. I'm working on a Raspberry Pi assembler tutorial. Thanks for the requests.
I'm great fan of you teaching videos. I do have a request/ suggestion for a video. There are next to zero decent and in depth videos on recursion. Could you look into doing a recursion and its uses/ application?
at uhhh ...... 4:20 lol time mark into the video ... lol he uh .... used 2 different kind of quotes in the same kind of statement, on the same OS / version of Perl..... why?
Great tutorial Derek helped with a lot. However, I do have a couple of questions. I understand how to read from a file, but what if you needed to read from a directory and needed to read all the files in that directory.
can you do a clojure video next? I'd really love to have a good reference video and very few are on the web and the clojure documentation is a nightmare
+Derek Banas thank you for the response and the effort, i appreciate it and I'm sure fellow clojureists will as well. I'll have to dump some donations into your patron account.
I found an Error, in the File IO when Adding Phil at begin of employees.txt, Sally is deleted, In your video I see this error too so how can this be corrected?
Another great video Derek! Is this Perl code specific to changes and implementations after 2012? I don't remember the say() or the version of #switch that you showed. And while I've been using #strict and #warnings for a long time, I'm not familiar with #diagnostics #pragma.
You're doing the best videos of the programming on the internet! Now I'm learning C from your videos. I would be grateful if you do a video about flex / yacc or LLVM :D
I have a HUGE problem with Atom on windows. It keeps saying that it can't find the Dumper and keeps crashing, when every other perl IDE works. Is Atom just a bad product for windows or am I doing something wrong? EDIT: I fixed it by just adding "perl" before I ran the script in CMD
+Derek Banas no problem, also just wanted to say amazing video. These relatively brief overviews of languages actually really help me understand key components of different languages. Keep doing what you're doing!
Hi Derek, 1:00:36 - Object oriented Perl @ this somethings changed # Create a Cat object this did not work, my $whiskers = new Animal::Cat("whiskers", "Varun"); Below worked my $whiskers = Animal::Cat->new("whiskers", "Varun"); Also I want to highlight that given when last is not working the use feature 'switch'; Loved your videos, THNX :)
Visual Studio Code. # You should like this since you hate linux. # Because Microsoft makes Visual Studio Code. It is very straight forward. Using your mouse ... If you select View > Integrated Terminal You can execute your code as you as you edit. Make sure to save your script before you try to run it in the terminal. To run your script from the integrated terminal change directories to wherever you saved your file with "cd". See what files are in your folder with "dir". # You should be able to handle this as it's just command prompt windows stuff. Then execute your script: > perl myscript.pl # Assuming your script is myscript.pl. # Just change it to whatever the name of your script is.
Is there any programm where I can certify that I know this language with a deegree or something like that? Great video even though I found it 5 years late to be honest.
I just wanted to say Thank you for a Great tutorial on Perl, This for me was an excellent refresher as it covered most of the things I needed to remember, not I only have to do a small amount of refreshing on things like multi dimensional hashes and specific modules - So again Thanks - I haven't yet but am about to go through the rest of your videos and see what other cool ones you have made
Great video! Could you do someday a CMake video tutorial? It's really hard to find good resources about it, and I think this will help a LOT of people here. Thanks!!
hi. I have a file consist of LINEFEED character very next to the header and trailer.. I want to move those to end of the record. other records having the last character at the end only. please share your thoughts
Great tutorial. I watched it several times when I was brushing up on Perl for some Perl code I have to maintain at work. I think there might be a little mistake around minute 59 on error handling. I am pretty sure that should be $! rather than $_, but it was still awesome.
Learn in One Videos for Every Programming Language
Subscribe to Bookmark them: bit.ly/2FWQZTx
C++ : ua-cam.com/video/Rub-JsjMhWY/v-deo.html
Python : ua-cam.com/video/N4mEzFDjqtA/v-deo.html
Java : ua-cam.com/video/n-xAqcBCws4/v-deo.html
PHP : ua-cam.com/video/7TF00hJI78Y/v-deo.html
MySQL : ua-cam.com/video/yPu6qV5byu4/v-deo.html
JavaScript : ua-cam.com/video/fju9ii8YsGs/v-deo.html
C# : ua-cam.com/video/lisiwUZJXqQ/v-deo.html
HTML5 : ua-cam.com/video/kDyJN7qQETA/v-deo.html
CSS3 : ua-cam.com/video/CUxH_rWSI1k/v-deo.html
JQuery : ua-cam.com/video/BWXggB-T1jQ/v-deo.html
TypeScript : ua-cam.com/video/-PR_XqW9JJU/v-deo.html
ECMAScript : ua-cam.com/video/Jakoi0G8lBg/v-deo.html
Swift : ua-cam.com/video/dKaojOZ-az8/v-deo.html
R : ua-cam.com/video/s3FozVfd7q4/v-deo.html
Haskell : ua-cam.com/video/02_H3LjqMr8/v-deo.html
Handlebars : ua-cam.com/video/4HuAnM6b2d8/v-deo.html
Bootstrap : ua-cam.com/video/gqOEoUR5RHg/v-deo.html
Rust : ua-cam.com/video/U1EFgCNLDB8/v-deo.html
Matlab : ua-cam.com/video/NSSTkkKRabI/v-deo.html
Arduino : ua-cam.com/video/QO_Jlz1qpDw/v-deo.html
Crystal : ua-cam.com/video/DxFP-Wjqtsc/v-deo.html
Emacs : ua-cam.com/video/Iagbv974GlQ/v-deo.html
Clojure : ua-cam.com/video/ciGyHkDuPAE/v-deo.html
Shell : ua-cam.com/video/hwrnmQumtPw/v-deo.html
Perl : ua-cam.com/video/WEghIXs8F6c/v-deo.html
Perl6 : ua-cam.com/video/l0zPwhgWTgM/v-deo.html
Elixir : ua-cam.com/video/pBNOavRoNL0/v-deo.html
D : ua-cam.com/video/rwZFTnf9bDU/v-deo.html
Fortran : ua-cam.com/video/__2UgFNYgf8/v-deo.html
LaTeX : ua-cam.com/video/VhmkLrOjLsw/v-deo.html
F# : ua-cam.com/video/c7eNDJN758U/v-deo.html
Kotlin : ua-cam.com/video/H_oGi8uuDpA/v-deo.html
Erlang : ua-cam.com/video/IEhwc2q1zG4/v-deo.html
Groovy : ua-cam.com/video/B98jc8hdu9g/v-deo.html
Scala : ua-cam.com/video/DzFt0YkZo8M/v-deo.html
Lua : ua-cam.com/video/iMacxZQMPXs/v-deo.html
Ruby : ua-cam.com/video/Dji9ALCgfpM/v-deo.html
Go : ua-cam.com/video/CF9S4QZuV30/v-deo.html
Objective C : ua-cam.com/video/5esQqZIJ83g/v-deo.html
Prolog : ua-cam.com/video/SykxWpFwMGs/v-deo.html
LISP : ua-cam.com/video/ymSq4wHrqyU/v-deo.html
Express : ua-cam.com/video/xDCKcNBFsuI/v-deo.html
Jade : ua-cam.com/video/l5AXcXAP4r8/v-deo.html
Sass : ua-cam.com/video/wz3kElLbEHE/v-deo.html
Hi Derek Banas can I ask you a question
What happened if you download it in MacBook is it goanna damage the laptops
Derek Banas please reply
where's COBOL...c'mon, catch up with the times haha
thanks for your work.
@@Ace-et6zz Derek will be intimated about ur msg only if u send him a direct msg using the "Add a public comment" text box.
@@madhukiranattivilli2321 oh ok
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 Rousta Thank you for the very nice compliment :) I did my best.
+Derek Banas next live streaming ? :D
#EarthProudDay need help for the best Paradox- Ion Murgu Circles Paradox #IonMurguCirclesParadox
Can you teach on how to use crypt?
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.
it is also required for the proofs of the concept especially when finding the factorial of numbers less than 1 --i believe the gamma function is involved , too deep for me , but yeah , you are correct !
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.
It goes without saying that it takes great talent to assimilate and master all the knowledge that you possess; but it takes GENUINE GENIUS to be able to teach and synthesize all of this knowledge.
Thank you Derek. Your Perl tutorial is easier to understand and contains all the core concepts in Perl.
Thank you :) I'm happy you enjoyed it
I was only interested in Perl, but this video is just so well done, I'll have to check out more of your videos.
+Michael Blake Thank you for the compliment :)
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.
Derek! Really cool to see you do a Perl tut! A great language that many folks have forgotten about! Happy tutorialing!
+Aaron Wells Thank you :) I agree that Perl is great
Absolutely the best ever video tutorial for Perl programming so far in the internet
Thank you for the compliment :)
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.
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!
Thank you Derek. I really needed the short introduction to the language. I successfully passed the exam with your help.
That's great! I'm glad I could help :)
On timeline 51:00 , the array @_ contains the parameters passed to that subroutine, if written within a subroutine .
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 UA-cam 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.
I’m very happy that you found my video useful. Yes you are learning exactly as I recommend. Download the code and refer to it while taking notes in your own words. Then experiment and write your own programs using the cheat sheet provided as needed. If you keep this up and with a little help from stackoverflow and such you should grow adept with the language quite quickly. This is especially true once you master basic problem solving skills specific to programming. With my data science videos I both provide videos like this and then hands on real world data science videos. I hope you find them useful.
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)
Thank you for the input :)
Actually Insane amount of Information, jam packed in 1 hour. Some parts I had to put the video on 0.75X speed to get all the info. Each line you say is a new learning.
Thank you!
Thank you :) My goal with every video is to cover as much as possible as quickly as possible.
Impressive how one man knows so many programming languages. Great tutorial!
don't get discouraged...he does not "know" them all by heart. He learns them and makes videos, which is great! But noone can remember all these languages by heart.
this language is so fun!
its easy to read and understand.
why its not popular?
How you retain all this knowledge on this many programming languages is mind-boggling. Amazing job.
+Super Original by writing a script for what to write in video :)
+Super Original Thank you :) Actually most languages differ very little from each other. If I showed how they differ in a chart I think you'd be surprised at how easy it is to switch languages.
+EYM I showed my script in my mean stack tutorial. I think a tight script would cripple my ability to make a tutorial. I freeform a lot in these videos, which is why I make so many mistakes.
Derek Banas Well, to stay on track, you must have some way to list of things to discuss or code snippets to implement.
Just in case anyone is searching you need to add 'use feature "state" ' for the state example to work.
Awesome tut as always though.
Not necessarily, from the perl docs: The state feature is enabled automatically with a use v5.10 (or higher) declaration in the current scope.
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
+Jose A I'll see what I can do. That is definitely needed
aweasome
Pls add a 0:00 time stampt o get youtube chapters.
My 1st day of learning Perl and I foud this amezing video....All I want you have covered .... thank you 🙏
You are the best Derek, have made things so clear and easy for me i was completely new to Perl but things make alot more sense Thanks. keep the great work :) !!
Thank you :) I'm happy I could help
Can you add "0:00" timestamp to description so that this video can make use of UA-cam's Chapter feature? Thanks
Fixed it. Thank you for reminding me :)
You are just Superman.
I love watching your tutorials.
+MASTERBOY SRIKANT Thank you for the compliment :) I'm happy that you like them.
+Derek Banas please make a tutorial series on .NET
+MASTERBOY SRIKANT I'm working on it. Sorry for the wait.
+Derek Banas :)
Cool! This is a very straightforward intro to Perl.
Thank you :) I'm happy it helped
Regarding that line "my $class = shift;" (the first line in the "new" subroutine of package Animal::Cat):
$class is getting the first item on the array @_, but what is that first item? I assume it's a reference to the object being created?
By contrast, when you call a normal subroutine that is not part of a package, I assume that the contents of @_ exactly match the argument list from the call. (That is, nothing extra is added to the beginning of @_.) Is that corrrect?
Hi,
I forked at timeline 50:00 and discovered something following, but need your help to understand steps here:-
use feature 'say';
sub get_max_num{
my ($max_number, @something) = @_;
for (@something) {
$max_number = $_ if $_ > $max_number;
}
return $max_number;
}
say "Maximum Number : ", get_max_num(7,3,5);
Thank you so much, you have summed up all the basics beautifully! I can't even begin to tell you how useful this has been.
Thank you for taking the time to tell me I helped 😁
I work almost 3 years with Perl mostly, don't know why did i watched this video but hey it's good :)) Thanks
+BoJaN Stojcevski Thank you for watching it :)
RIP English
Great video Derek! This helped me immensely in a problem I had to fix. It's so clear and well-explained!
Thank you for taking the time to tell me I helped :)
Thanks for this Derek, nice to have one of these videos about PERL. Very much appreciated!
+pacoloco70 You're very welcome :)
Hot damn, been looking for a jumping off point in to Perl, and this was really great, thanks for all the hard work as usual Derek!
So where are you now
Hey, Derek Banas I was requesting if you can make a tutorial on assembly. ;)
+FearlessFlame Yes I will, but I want to do more on electronics first.
+Derek Banas Thanks you :)
There's a million different kinds of assembly language. Depends on your architecture.
Man, I am your subscriber since 2014 and all of your videos beats any other tutorials on UA-cam. How can I donate something, just to show my appreciation for all your effort bringing these awesome classes? Thanx!
+Luiz A. Nickel Thank you for the very nice compliment :) If you can I'd appreciate a $1 on Patreon. It helps me pay for the books I use. If not that is ok as well. I'm just happy that people like the videos.
Patreon
A video on Ruby on Rails would be much appreciated. Keep up the good work!
I made one and plan on making an updated version soon.
Can you please make a series on this? I am trying to master perl and I really need some help on it, something like the Python one because I hear perl is more useful in the hacking/coding community, whenever you have the time it would be very useful, thank you!
oh also, GREAT video, best coding youtuber ever!!!
Thank you :) I'll see what I can do
Awesome!
Whoever uses Linux with Ubuntu version 16, I have a question. Why did they remove *syntax* from VI. The coloring of the words really helped me know if I was doing something wrong. And don't tell me to just use a text editor because I hate those.
Consider using VIM instead of VI. VIM has syntax on by default. For VI, go to command mode (Shift + ;) and write "syntax on", without quotes.
But this will only stay on for the active session. You have to but "syntax on" in your .vimrc-file. Google will help =)
Okay thank you. i'll give VIM a shot.
I am new to Perl. Quick question: what is the advantage of using Perl over C? These two languages look a lot a like.
Perl is a great utility language. I personally use it to automate a bunch of tasks that I do all the time
tbh this is the best tutorial.
made me very clear on $_ and @_ too
my $customers takes in a particular input to be held
my @customers he used the split so he can split the input into an array(since they are separated by , )
what is the name of your editor or IDE that you are using inside of the Windows (left) side? Is that part of Strawberry or no?
It looks like you actually using a MAC and NOT a Windows box there, on the left, judging from the windowing interface widgets
My own installation of Strawberry Perl does NOT have your nifty editor or IDE and i cannot do that -- what you do?
How are you writing code in one window and running it in another?
I actually prefer Perl over Python. Is that weird?
+cyancoyote Perl is an awesome utility language 😀
There is a lot of development going on in python.
But I can't stand that whitespace is a syntax error in python.
So I don't even want to both learning it. I think I might learn javascript though.
I also prefer Perl, but maybe it's because I learned it first a long time ago. Another reason is that I love the C language and Perl is closer to C than Python. I never liked the self and underscore weirdness in Python. Unfortunately Python is more actively used these days, and if you have anything to do with Data Science, you will probably have to learn Python since most libraries are written for it.
same goes for me
yes
variable names like "is_not_intoxicated" causes a lot of trouble with double negatives, boolean variables are good when they're always affirmations, in this case Id use "is_intoxicated" and not have to use the operator ! at all, would make the code clearer and easier to understand from a superficial read.
I agree. That was just me trying to be funny
Derek, do you have any videos showing how to create a basic login form with Perl CGI? Thanks
This is a great crash course video in Perl, sound is great too. Thank you, you're the best
Thank you very much :)
Is there a video tutorial about Microsoft SQL? Or are you planning to make one? Love your work! Helps me a lot!
+Remko van der Mijde Thank you :) I have MySQL, SQLite and MongoDB tutorials but I haven't covered SQL server yet.
Please tell me the name of the Editor IDE that you are using to write and execute your Perl code into?? Thanks.
I am desperately needing to know .... but from the widgets, it seems you are doing it on a Mac?
Thanks again for your videos, keep up the good work :-) regarding the "state" example, I needed to add use feature 'state'; to make it work , not sure how it worked for you.
Обновите пожалуйста информацию по языку программированию Perl в 2024... Информации мало, но язык решает практические задачи и полезен... Благодарю!
Starting out in the terminal? I have nothing that looks like that in the 11 options available.
This is perfect because that's one of the languages I'm studying in my Scripting Language Class! This was where I got the "Ubutu" thing from. My teacher said Strawberry Perl works for Perl too.
+Nick M *Ubuntu whoops spelling error.
+Nick M I'm happy I could help :)
So there is a filter (grep) and there is a map (directly as "map") in perl. Is there no equivalent perl function/keyword/special-operator* to "reduce" other than using a for loop**?
*special operator -- like $_ | $& | $` | $' | $/ | @_ | $! | $@ | ...
**for-loop :
# implement "reduce" op
my @nums = (1..5);
my $total = 0;
foreach (@nums) { $total += $_; }
- Madhukiran
My God. You legend. This was incredible.
Thanks a lot for the fast-paced and great tutorial, I have a question, If I have 3 arrays, I want to sort one of them and at the same time sort the other two based on entries in the first one. for example
array1 array2 array3
5 d yy
1 c tt
2 a uu
after sort:
array1 array2 array3
1 c tt
2 a uu
5 d yy
Thanks.
I know that I am an absolute newbie to this but I thought that at least each new output would be separated somehow with each new command execution?
It kind of sad that the line numbers on the output aren't there.. Can you put Comments on the output to tell you, that you are doing something new? Thanks for any info!
Hey Derek, thank you for all the great tutorials you made :)
I have a few requests:
Sinatra - It's an awesome, popular framework that I'm getting into, it's really sweet and I found it to be better than Express, which you covered.
Different Template Engines - I think that videos of those (haml, ejs, erb, slim, etc.) are easy to make and very useful, since there isn't so much information on many of them.
Assembly - I know you said that you're going to make it after electronics, but I'm upping the request here. I would love it if you explained everything very well in detail, since all tutorials that I dealt with were quite confusing.
Bash/shell scripting - It's something that can be very useful and I couldn't find many good tutorials on it.
+Nickel Ghost You're very welcome :) I'm planning tutorials on everything you mentioned. I'm working on a Raspberry Pi assembler tutorial. Thanks for the requests.
Great tutorial on Perl. I finished this one, looking forward to doing more!
Thank you :)
I'm great fan of you teaching videos. I do have a request/ suggestion for a video. There are next to zero decent and in depth videos on recursion. Could you look into doing a recursion and its uses/ application?
I cover recursion with Java in 5 ways in this video ua-cam.com/video/neuDuf_i8Sg/v-deo.html
It's great the you even replied. Thank you very much.
I just wanted to know if he's using strawberry or active perl and, also is there a difference in strawberry perl and active perl?
Just as always ! simple but professional ^_^ thank you so much for the awesome tutorial
+Caddy Dz Thank you :) I'm happy you liked it
at uhhh ...... 4:20 lol time mark into the video ... lol he uh .... used 2 different kind of quotes in the same kind of statement, on the same OS / version of Perl..... why?
in some print statements you didn't use double quotes so we can do like that in all print statements or it is applicable to specific statement?
Are you using an IDE there or just a text editor or...? I'm in KDE - what IDE to use? THANKS!!
your tutorials are so great! I learn a lot. Thank you.
+Alex Walker Thank you :) Your welcome
Great tutorial Derek helped with a lot. However, I do have a couple of questions. I understand how to read from a file, but what if you needed to read from a directory and needed to read all the files in that directory.
Thank you :) Here is the code stackoverflow.com/questions/205159/how-do-i-get-a-directory-listing-in-perl
Thank you. Are there any chances that you will make a close more in depth tutorial on perl?
can you do a clojure video next? I'd really love to have a good reference video and very few are on the web and the clojure documentation is a nightmare
+Abeltensor Sure I can cover Clojure. I'll start working on it. It will be out as soon as possible.
+Derek Banas thank you for the response and the effort, i appreciate it and I'm sure fellow clojureists will as well. I'll have to dump some donations into your patron account.
+Abeltensor I'll do my best. Clojure is very fun. Have you seen my Lisp tutorial ua-cam.com/video/ymSq4wHrqyU/v-deo.html
You should make videos of learning sed and awk in one videos
They are on the list. Sorry for the wait
WOW! You're the coolest! Thanks for the tutorial man.
+Andrew Garfield You're very welcome :) Thank you
I found an Error, in the File IO when Adding Phil at begin of employees.txt, Sally is deleted,
In your video I see this error too so how can this be corrected?
Another great video Derek! Is this Perl code specific to changes and implementations after 2012? I don't remember the say() or the version of #switch that you showed. And while I've been using #strict and #warnings for a long time, I'm not familiar with #diagnostics #pragma.
No polymorphism?
Very good stuff. Thank you, Derek.
Btw, note that inside "die" function you should use "$!", not "$_"
+Новые Люди Thank you :) Sorry about the error. My brain was tired that late into the video.
You're doing the best videos of the programming on the internet! Now I'm learning C from your videos. I would be grateful if you do a video about flex / yacc or LLVM :D
+Kornel C. Thank you for the compliment and the requests :) I'll see what I can do.
Isn't the switch loop basically equivalent to ...?
while()
{
if() { }
elsif() { }
elsif() {}
else { }
}
Yes pretty much
Derek Banas, Do you know how to use the Text::CSV module? I find it hard to understand how to get the rows and column names.
Awesome work- found this video when I needed- Thank you Derek.
Happy I could help 😁
How lang better PHP or Perl ????
Thanks Derek this was super helpful! I didn't really understand the bless part in class section, but I'll do some searching on my own for that answer.
I have a HUGE problem with Atom on windows. It keeps saying that it can't find the Dumper and keeps crashing, when every other perl IDE works. Is Atom just a bad product for windows or am I doing something wrong?
EDIT: I fixed it by just adding "perl" before I ran the script in CMD
Thank you for posting your fix
+Derek Banas no problem, also just wanted to say amazing video. These relatively brief overviews of languages actually really help me understand key components of different languages. Keep doing what you're doing!
best perl tutorial on the net
Thank you very much :)
how do you jump from perl in command prompt to perl directory
How can we create a 16x16 bytes array in perl.
Typing My seems to error out since it's not a command or scalar.
Hi Derek,
1:00:36 - Object oriented Perl
@ this
somethings changed
# Create a Cat object
this did not work,
my $whiskers = new Animal::Cat("whiskers", "Varun");
Below worked
my $whiskers = Animal::Cat->new("whiskers", "Varun");
Also I want to highlight that given when last is not working the use feature 'switch';
Loved your videos, THNX :)
Where do we find that straight line on the keyboard? What is teh best PERL IDE with out the Linux brain surgery.
padre perl
Not what I asked.
+Tino Rozzo hey, you asked the best Perl IDE, that's PADRE Perl
Visual Studio Code. # You should like this since you hate linux.
# Because Microsoft makes Visual Studio Code.
It is very straight forward.
Using your mouse ...
If you select View > Integrated Terminal
You can execute your code as you as you edit. Make sure to save your script before you try to run it in the terminal.
To run your script from the integrated terminal change directories to wherever you saved your file with "cd". See what files are in your folder with "dir". # You should be able to handle this as it's just command prompt windows stuff.
Then execute your script:
> perl myscript.pl
# Assuming your script is myscript.pl.
# Just change it to whatever the name of your script is.
Absolutely amazing. Thanks for posting this
Not only youtube, but on the Web as well! It's really hard to find good stuff!
Is there any programm where I can certify that I know this language with a deegree or something like that?
Great video even though I found it 5 years late to be honest.
Excellent Perl tutorial. Thanks!
Thank you :)
Hi! Should i learn from this video or from Perl6 video?
не успеваю понимать за этими примерами ,они у него на уме .пока за условие думаешь ,он уже про функцию рассказал
U r great.Can you make complete tutorial of "CodeName One" beacuse we want this from you & like ur methodoloy.plz remind us in making tutorial cn1.
+Syed Sabir Thank you :) I'll see what I ca do. Thanks for the request
I just wanted to say Thank you for a Great tutorial on Perl, This for me was an excellent refresher as it covered most of the things I needed to remember, not I only have to do a small amount of refreshing on things like multi dimensional hashes and specific modules - So again Thanks - I haven't yet but am about to go through the rest of your videos and see what other cool ones you have made
Thank you for the very nice message :) I'm very happy that I was able to help.
Where does he type this at 0:47?
Great video! Could you do someday a CMake video tutorial? It's really hard to find good resources about it, and I think this will help a LOT of people here. Thanks!!
+César Noll Thank you :) I'll see what I can do
55:18 Correction: 0! = 1
hi. I have a file consist of LINEFEED character very next to the header and trailer.. I want to move those to end of the record. other records having the last character at the end only. please share your thoughts
Great tutorial. I watched it several times when I was brushing up on Perl for some Perl code I have to maintain at work. I think there might be a little mistake around minute 59 on error handling. I am pretty sure that should be $! rather than $_, but it was still awesome.
Can you do a cakephp tutorial as you make the best tutorials and would be much appreciated.
Thanks
+Sameer Ali I hope to do a lot with PHP soon. Sorry for the wait.
+Derek Banas No worries. you make great tutorials of everything keep it up!! and thank you :)
Thank you Derek! Such a great video on PERL!
Thank you very much :)