www.webdeveloper.com
Results 1 to 4 of 4

Thread: Where do I keep my perl file?

  1. #1
    Join Date
    Nov 2002
    Posts
    631

    Where do I keep my perl file?

    At the top of a perl file I have, it says:

    #usr/bin/perl

    I have placed my perl file in the folders usr/bin/perl like it says above. I am running PWS on my computer, but when I try the script out, it doesn't work. What am I doing wrong? My PWS setting say that CGI is supported.

  2. #2
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    #usr/bin/perl

    This is the path to the Perl interpreter, not the script itself. /usr/bin/perl is the most common path on Unix machines. If you're running the script on Windows then your first line will (most likely, depends on where you installed Perl) look like this

    #!c:\perl\bin\perl.exe

  3. #3
    Join Date
    Nov 2002
    Posts
    631
    Thanks! I don't think I have a perl interpreter. Do you know where I can download one from the internet? I am not sure if an interpreter is included in PWS.

    P.S. I am running windows

  4. #4
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles