in reply to how to use article() function in perl Net::NNTP module?
Note the use of a scalar file handle ($fh instead of FH). Also note the few modernisations I gave your code.open($article, ">>", indexer.txt") or die $!; $nntp->article($last, $article);
Your syntax (<FH>) would use the <> operator to try to read from the file handle and pass the result as an argument, rather than pass the actual file handle.
|
|---|