PERL program

V

vdubVR6

Guest
Does anyone know what I should download to be able to open a PERL program in desktop/LX??!! I thought it would know right away (at least mandrake did) but it has no clue what program to use. Any comments or sug. thx:D
 
chances are that you have it on there already.

#!/usr/bin/perl
print 'you have perl installed';

cut and paste that into a text editor and save it as anyname you want (test maybe). make sure that the "#!/usr/bin/perl" are all on the first line of the page.

$ chmod 755 test
$ ./test

if it does this:

$ ./test
you have perl installed

then its there.
and thats how you run a perl program. go to the directory that the program resides and type ./filename and it will run, or type (from anywhere) the complete path to the perl script (ex: /home/vdubvr6/test ). perl programs are all scripts, they are not compiled code, its just a scripting language (the best one in my opinion)

or www.cpan.org should have the perl binary
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back