• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

PERL program

V

vdubVR6

Guest
#1
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
 
M

MadHaXX()|2

Guest
#2
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

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,018
Latest member
dixoncarry