PERL program

Discussion in 'Windows Desktop Systems' started by vdubVR6, Nov 27, 2002.

  1. vdubVR6

    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
  2. MadHaXX()|2

    MadHaXX()|2 Guest

    chances are that you have it on there already.

    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 should have the perl binary