Hi,

I am facing the problem running the perl script it is not accepting the command 
line arguments. but the same works fine on Unix. on windows it is falling

OS - Windows.

     Set up Made to the file.
     1) Changed the File Property of script 
        - Perprocess.pl - open with perl.exe
     2) Beginning of the script add the perl exe path
        #!C:\Software\perl\bin\perl.exe

1) When I run the perl script, it is not accepting the argument    
   Passed to the script.
     C:\Script\apps>preprocess.pl 1 2 3 3
     the number of arg is  -1
     1 : Usage: inFile flags constStr

2) When i run the same script with perl then it runs properly
   C:\Script\apps>perl preprocess.pl 1 2 3 3 
   the number of arg is  3

Please help me to rectify this problem

Regards
GV

Reply via email to