Thread: perl help

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    Berea,KY, United States
    Posts
    11
    Rep Power
    0
    i have downloaded a version of perl on my personal pc running windows 98. i am having trouble figuring out whether i have installed it properly because i don't know what anything means for example command line, or console window. Can anyone help me get this up and running. If i write a simple program in a text editor such as notepad how do i run my program. any help please!
  2. #2
  3. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Sweden
    Posts
    27
    Rep Power
    0
    WOW, exactly the same problem that I had 1 year ago.......

    My english isn't so good, but try to understand.

    Okey, install perl (under Cerl), and do what it says.

    Write your perl program in notepad and save it as something.pl

    Go into Dos and (cd) your way to the file that you have created.

    write: perl something.pl and the file should execute.....if it does'nt you have to set the PATH......ask me again if it does'nt work.

    ------------------
    Excuse my bad english, but I'm still from Sweden.
  4. #3
  5. SwollenMember
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Location
    the master control
    Posts
    264
    Rep Power
    14
    one way you can tell if you have it installed is to write a simple program in notepad:

    print "Hello World!n";

    then save it in say C: as first.txt

    then open a commmand prompt and go to the C: directory.

    then type perl first.txt

    if this prints hello world then you have done it correctly. also, go to www.perlbuilder.com, they have a nice little IDE for perl on windows
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    17
    Rep Power
    0
    if you have installed the ActiveState perl distribution, just create a notepad file called something like test.pl, and put the line:

    print "Hello Worldn";

    then save the file and double-click it. If it runs it runs



    ------------------
    Stop slaggin off tuna

IMN logo majestic logo threadwatch logo seochat tools logo