On Aug 14, Wert, Nathaniel J said:

>> open INPUT, $file or die "\n\nCan't open file $INPUT: $!\n";

That should be $file in your error message.

>> while (<INPUT>) {
>>   $node = $_;

Why don't you chomp $node here?  It will have a newline at the end.

  while (my $node = <INPUT>) {
    chomp $node;
    system "script1 -r $db -7 $node -v 9";
  }

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.
[  I'm looking for programming work.  If you like my work, let me know.  ]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to