Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Good first perl compiler


ghost's Avatar
0 0

I want to expand my programming horizons and I am thinking perl, I looked on google and came up with a load of different ones, but can anyone reccomend a good compiler for a perl begginner?


ghost's Avatar
0 0

Ok, now i have that, I guess I need something to write it, the other languages i use there both included, what would work?


ghost's Avatar
0 0

MoshBat wrote: http://strawberryperl.com/ Huh, never heard of that. It seems pretty cool though. Also, OP, I don't mean to nit-pick, but Perl is an interpreted language, not a compiled language, so you would want a Perl interpreter. However, it is possible to compile Perl code into a standalone executable.


ghost's Avatar
0 0

Dude you are going to have to help me out, never programmed in perl, but I am seeing examples, just none giving an interpreter, I am asking what I use, so a text editor would work I will give that a try


ghost's Avatar
0 0

Orillian wrote: Dude you are going to have to help me out, never programmed in perl, but I am seeing examples, just none giving an interpreter, I am asking what I use, so a text editor would work I will give that a try Assuming you have a perl interpreter installed, write some perl code in any text editor you want, save it as a *.pl file, then in the command prompt/terminal type:

perl /path/to/perlfile.pl

Edit: MoshBat beat me to it :P


ghost's Avatar
0 0

got it, thanks guys, and what was that notepad extra called? notepad + or notepad 2 wasnt it?


ghost's Avatar
0 0

Yeah, got it and using it, thanks i like the syntax hilighter,

And one last thing, im looking for good learner lessons, but they all seem to cost, are there any free ones at all?


ghost's Avatar
0 0

I already said i have, and all i can find is either links to ebooks that costs or extracts that are of no use because they contain no useful info


ghost's Avatar
0 0

First off. Shut the FUCK up. Apparently you HAVEN'T looked cause this whole thread is shit you could have fucking google'd.

And as for your sig, WHO are you outsmarting? Shit… good luck with that.


ghost's Avatar
0 0

yeah the problem still stands, no idea why, it worked fine last night, it ran in the cmd box, but then this happens now


fuser's Avatar
Member
0 -1

You still haven't told us which interpreter did you use, I just realized that. And have you tried compiling it from the command prompt as I had suggested?


ghost's Avatar
0 0

I am usign active perl ver 5.10.0, and I am not sure how to compile from command prompt, I have run the script with and without the perl prefix, and I get the same result


ghost's Avatar
0 0

OK I do all that, and when i get to the "flash of command prompt" all i get it a blank cmd that stays on screen. same goes with running it through cmd


p4plus2's Avatar
Member
0 0

MoshBat wrote: I gave him a step-by-step. I really doubt a video of the most simple tasks is going to help, if he can't even follow instructions…

Unless, guys, there is some actual problem… Nahh.

Good point, maybe he will learn a tiny bit about vi then? (Or seeing that in the video will confuse the hell out of him.)


p4plus2's Avatar
Member
0 0

MoshBat wrote: "Where's the start button?"… "Why are there two bars?"… "What's happened to the multi-coloured flag?"… Lets not forget "Vi is broken, I type stuff but it doesn't show up"