Forum
Perl Question
Created 30th November 2010 @ 21:06
Add A Reply Pages: « Previous 1 2
Quoted from atrox_
[…]
But the way I’m suggesting allows you to do that as well. After getting an error pointed out to you right away you can look at it and work out why it’s wrong and next time how to avoid it. Presuming you aren’t retarded of course.
At least, that’s the way that I did it.
His point is that your errors might be cleaned up by the IDE. I agree with him.
Quoted from Destrutor
Thanks for the help everyone, one more question though – where exactly do you put perl scripts into use, are they simply used to do certain tasks on webpages and such, or can they be used for more complex things?
They’re often used just as interfaces with other programs, they do have some power beyond that, but I wouldn’t use them for anything particularly complex. For example, ChrisBot (#christf2 on QuakeNet) is written in Perl, and so are some of the scripts I run for my trading, but to be honest if I wanted to write something solid I’d write it in C++, or for solid web programming, ROR.
Quoted from octochris
[…]
His point is that your errors might be cleaned up by the IDE. I agree with him.
[…]
They’re often used just as interfaces with other programs, they do have some power beyond that, but I wouldn’t use them for anything particularly complex. For example, ChrisBot (#christf2 on QuakeNet) is written in Perl, and so are some of the scripts I run for my trading, but to be honest if I wanted to write something solid I’d write it in C++, or for solid web programming, ROR.
Ahh right, I think I get it now. Just gotta figure out basic shit, like how to do arrays, loops that kinda thing in it and I’m set.
Cheers all :)
Google is a programmer’s best friend :)
Not saying that to be lazy; it’s simply true.
also in this particular case
http://www.cpan.orgcpan[/url]
Ye, CPAN is really nice.
Honestly though, imo you would have been better to learn PHP (Not to say that PHP is better than perl in any way, all languages have pros and cons) simply because I think you’d find a lot more things you could do with it than Perl. Perl is really a language for writing mega fancy linux scripts, and things like Chris’s IRC bot are really reaching the limit of what can be done with it. PHP is designed for use on websites (you put your PHP code in the middle of HTML and the web server automatically runs the PHP code when someone loads the webpage without letting them see it). Its bassically the standard for websites these days, ETF2L for example (which is wordpress with a shedload of custom built plugins) is written bassically 100% in PHP, along with the #pixeltf2.pickup bot (which if you ever want to write a big PHP program, is a perfect example of what NOT to do).
Anyway, just a protip for if you are still interested in programming after doing it in school, VB is probably one of the worst programming languages ever made, so get into perl a bit more, or you can try out something like PHP, C# or Java.
Last edited by Skyride,
Hm, may learn Java instead then, since I only did a tiny bit with pearl, enough to figure out how to ‘declare variables’ and concatenation, and I don’t use linux :D
Can I just download the same type of thing as Strawberry Perl and then code with Notepad++.
Quoted from Destrutor
Can I just download the same type of thing as Strawberry Perl and then code with Notepad++.
yes.
What’s with all the hating on VB? Have any of you actually even tried .NET?
Quoted from Spike Himself
What’s with all the hating on VB? Have any of you actually even tried .NET?
yes, and it sucks dick)))
NO U
Oh well. It’s easy and I get paid to use it.
Add A Reply Pages: « Previous 1 2