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

    Join Date
    Jul 2000
    Location
    Sweden
    Posts
    27
    Rep Power
    0
    I'm runnning under a Windows system, but in order to test my perl programs, I must place them under C:/perl/bin......can I fix this...

    ------------------
    SwEdE[oelbal]n
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Aug 2000
    Location
    Indiana
    Posts
    614
    Rep Power
    16
    I'm not to vers with perl/win combo, but I think if the command you give at the command promp is "perl asdf.pl" then it will execute asdf.pl.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    300
    Rep Power
    15
    You need to setup the PATH enviroment variable to point to the cerlbin directory. If you run Win 95/98 edit the autoexec.bat file and find in it the PATH variable. Then simply add the above path to the end of this line.

    If you need more help, just say...
  6. #4
  7. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    >>Then simply add the above path to the end of this line

    Yes. Something like this...

    SET PATH=C:PERLBIN;%PATH%
  8. #5
  9. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Sweden
    Posts
    27
    Rep Power
    0
    Well, I looked up the autoexec.bat in the C: directory, but I didn't find any PATH thing....maybe I'm a bit stupid, (and my english isn't very good either)......

    ------------------
    SwEdE[oelbal]n
  10. #6
  11. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    >>I looked up the autoexec.bat in the C: directory, but I didn't find any PATH thing

    Yes, you can't find that line. You need to add it yourself.

    If your perl.exe is in C:PERLBIN, add this to your autoexec.bat

    SET PATH=C:PERLBIN;%PATH%
  12. #7
  13. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Charleston, SC, USA
    Posts
    10
    Rep Power
    0
    another approach.......

    go to http://www.activestate.com
    and download a copy of their Perl port. It
    will come with a setup.exe which will take care of the path/registry problems. Also, their Perl bundle includes a utility called PPM (perl package manager). It allows you to easily install modules like CGI, Tk, etc.

    good luck.

IMN logo majestic logo threadwatch logo seochat tools logo