Perl Programming - Getting and Installing Perl
Get the entire Perl Programming course for 20% off: http://stoneriverelearning.com/courses/perl-programming-for-beginners-online-course?product_id=38639&coupon_code=YOUTUBE20
Welcome back, everyone! In this lecture, I’m going to be showing you how to get and install our Perl environment. When we create our Perl applications, we can execute our programs. So I’ll show you how to download the GUI using the Windows platform. Don’t worry for you Mac lovers out there and Linux lovers and for all of you who is using a Linux-like environment. The Perl program should be installed by default and I’ll show you how check to see if it is installed on your Unix-like system or your Mac system. So for us Windows users, we’re going to download the GUI.
So open up one of your favorite browsers, and once you have your browser up and running, let’s go to the URL. Let’s type in the address bar learn.perl.org/installing/windows.html. Hit Enter. Once we do that, it’s going to take us to our Windows platform page for the Perl download. So we want to go down to step 2 and go to the link that says Download. So click that link. It’ll actually take you to another page for our Perl IDE version. We want to click the first link or the first Perl version which is the Padre on Strawberry 220.127.116.11 Version 5. So click on the first link, Padre on Strawberry. It’s going to take us to our official download page and just click on the Padre on Strawberry link right here. Me I’ve already downloaded it but I’m just showing you guys. So download it and wait for it to install on your computer. Once you do that, I’m going to click out of my browser. Once you do that, once it downloads, you open it up and you just go through the installation process and click Next. You go to your Start menu. I believe All Programs. You should go to a folder that says Strawberry Perl. Me I’ve already dragged and dropped the icon on to my desktop, so the icon looks like this. It’s a blue butterfly. Once you double-click it, the IDE should load up for Perl. Let me just wait for mine to load for the first time.
So for you Mac lovers out there and Unix lovers, this is what the shell looks like, or once you open up your command shell, this is what it should like. Once it does that, you can actually type which Perl. Which is just a Unix-like command to tell you where a program is located, the path. You can use another Unix command which is called What is Perl and it gives you a short description of the program. This is how you can tell if Perl is installed on your system by default for you Mac lovers out there. Let me go back here. I guess our program is still loading up. I accidentally opened up two of them, so I’ll just close one.
This is what the text editor looked like for our IDE Perl environment. I’ll show you all the basics once we jump into the next lecture. But if you’re at this screen with our text editor from Perl, you’ve installed everything correctly and you’re ready to move on to our next part.