Hello, World! Hehe. I’m learning perl and I just felt like saying that. Anyway, this intro is going to be like every other intro. Today I hope to cover why I’m learning Perl and what my first few programs were. Ok, well, I’m gonna start.
It all started yesterday at the library. I was looking for a book on Linux, and I never found it (I wanted to learn how to make my own distro). Anyway, nearby were some Perl books, so I took the Llama book (Learning Perl) and started reading it. I’ve always been curious about Perl, so I decided to take it out from the library (along with a book about SQL and advanced PHP).
Today was when I really started with Perl. I feel like I’m going pretty fast, since I started at about 3:00 PM, and now, at 8:00 PM, I already made 3 simple programs. I started with “Hello, World”, and now I made a little “Greeter” that asks you what your name is. It then says “Hello there, yourname” just replace yourname with yourname. Well, I put some names in there to start. For instance, if you’re Chris, it’ll insult you and call you an asshole, if you’re Bobby, it’ll point out that you need a new layout, and if you’re Louis, it’ll be struck with awe, because I am the bestest person in the universe. My in-between program was just a little something that calculates some junk. It’s basically a little math tester script. It’s also how I learned how to use variables in Perl (not as different from PHP as I thought).
Now, you may want to know why I decided to learn Perl. Well, other than the facts listed above (in the paragraph before the last one you just read), It’s REALLY quick. In fact, something written in C is a LOT longer than something written in Perl that does the same thing (It says that right in the book).
Well, when you’re done with the Llama book, what are you going to do? I’m gonna buy the Camel book (Programming Perl), of course, and then I’ll post scripts here for you to download :-D.
Well, that’s it for today! Yeah, today’s blog was very… perly, but who cares? lol, C Ya!