|
|
|
|
![]() ![]() |
Jul 22 2007, 02:34 AM
Post
#1
|
|
|
Premium Member Group: Members Posts: 206 Joined: 26-February 07 From: Texas Member No.: 20,598 |
Okay so I've decided to learn PERL. As I am VERY burned out on PHP after making an online hacking game in it and working on it for a month after release. Now that its almost done other than maintenance. I'm VERY good at php now. However I tried to do C and quickly thew my hands up (maybe too quickly).
So I decided to learn PERL just to learn it. I'm curious, what are some practical uses for PERL (online. but more importantly offline/background/not used by public), does perl use the same if, else, while and the like as PHP? Thanks |
|
|
|
Jul 22 2007, 02:36 AM
Post
#2
|
|
|
Oh come on Mrs. B! Group: Members Posts: 648 Joined: 6-June 07 From: Tasmania, Australia Member No.: 22,422 |
I dont even no the first thing about perl.
i also dont reckon i ever will, i dont think ill bother learning it unless i find out wot it does and need to use it |
|
|
|
Jul 22 2007, 05:58 AM
Post
#3
|
|
|
the Q Group: [HOSTED] Posts: 1,051 Joined: 13-July 05 From: Lithuania, Vilnius Member No.: 7,059 |
Well, if you say you know PHP, then Perl won't be hard to learn at all, a lot is identical in the syntax and yeah it has all that stuff like you asked, if else elseif print while for foreach and etc. I know a friend who use Perl for his scripting and he says Perl is good, for me learning Perl a bit was quite annoying, I didn't like the syntax, I prefer to further use PHP, also looked into Python and Ruby and I can say that they are much more better for scripting than Perl, but knowing all of them at least the basics is quite good..
Personally, I would say continue to play with simple C and not with Perl, but if you have the will and time, look into all of them |
|
|
|
Jul 22 2007, 07:18 AM
Post
#4
|
|
|
Oh come on Mrs. B! Group: Members Posts: 648 Joined: 6-June 07 From: Tasmania, Australia Member No.: 22,422 |
im gonna have a look at perl and see wot its like
dont no about anyone else but at a quick glance it looks a bit like SQL. i would rather learn something else than perl. i wanna learn AJAX. |
|
|
|
Jul 22 2007, 11:06 PM
Post
#5
|
|
|
Premium Member Group: Members Posts: 206 Joined: 26-February 07 From: Texas Member No.: 20,598 |
AJAX is just a style of JS Sten, not a language of itself if I recall.
@Quatrux: I have found the syntax is almost identical and the like just not as powerful as PHP. I find this problem in BOTH my C and Perl scripts: The console window closes immediately. |
|
|
|
Jul 23 2007, 07:54 AM
Post
#6
|
|
|
Teh Coder Group: Members Posts: 1,053 Joined: 18-April 06 From: Australia Member No.: 12,833 |
Perl is just like PHP for the most part, they end up doing the same stuff really, more or less.
I can't stand Python or Ruby, but I'm pretty sure they are not web driven like PHP and Perl are. C is just more universal, an actual programming language that has code compiled into a native executable program for an operating system. (not interpreted any higher than such). C is also the older non OOP (Object Oriented Programming), then again go for it, if you do not require anything more object oriented specific (while I do use a C++ compiler, I don't actually use much that is specific to it). Visual Basic and Object Pascal (as well as their .NET variants) are also another option on the programming scale. |
|
|
|
Jul 26 2007, 03:13 PM
Post
#7
|
|
|
Premium Member Group: Members Posts: 206 Joined: 26-February 07 From: Texas Member No.: 20,598 |
What I've found with PERL is that its a pain to run...even on freeBSD.
I think I'll stick with Non-Object Oriented Languages. I think PHP is the only scripting languages I need to know (and the only one that came easy). So I'm going to try with C/C++. PERL is just too...old I guess and not well documented. |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 10th October 2008 - 06:54 PM |