On 05/18/00, "John Zhu <[EMAIL PROTECTED]>" wrote:
> if ($#ARGV == 3){
>       $file1 = $ARGV[0];
>       $file2 = $ARGV[1];
>       $out1 = $ARGV[2];
>       $out2 = $ARGV[3];
> }

> LINE1: $number1 = <>;
This will take as input the first line
from $file1.

> LINE2: $number2 = <>;
This will take the second line from $file1, if
there is a second line, etc.

Perl is opening for input those files you have on the
command line. You should change all those
'$ARGV[n]'s to 'shift' to take the arguments off
of the command line, then the '<>' will pause
for keyboard input.

HTH,
Douglas Wilson

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to