U
Uno
$ perl client5.pl
command: GROUP comp.lang.perl.misc
result(211): 4777 658225 663028 comp.lang.perl.misc
658225 663028
663023
....
command: XHDR message-id 663028
result(221): message-id fields follow
received 1 lines
ARRAY(0x85a7a98)
command: QUIT
result(205): .
$ cat client5.pl
#!/usr/bin/perl
use strict;
use warnings;
use Net::NNTP ();
require
my $group = 'comp.lang.perl.misc';
my $server = 'News.Individual.NET';
my $USER = '';
my $PASS = '';
my $c = new $c->authinfo($USER, $PASS);
$c->debug(2);
my ($first, $last) = ($c->group($group));
print "$first $last \n";
for (my $i = ($last -5); $i <= $last; $i++) {
print "$i \n";
my $subject = $c->xhdr("", $i);
print "$subject\n";
}
__END__
$
I have a tried a million things to see the contents of the array as
opposed to reference and give up. Suggestions?
command: GROUP comp.lang.perl.misc
result(211): 4777 658225 663028 comp.lang.perl.misc
658225 663028
663023
....
command: XHDR message-id 663028
result(221): message-id fields follow
received 1 lines
ARRAY(0x85a7a98)
command: QUIT
result(205): .
$ cat client5.pl
#!/usr/bin/perl
use strict;
use warnings;
use Net::NNTP ();
require
my $group = 'comp.lang.perl.misc';
my $server = 'News.Individual.NET';
my $USER = '';
my $PASS = '';
my $c = new $c->authinfo($USER, $PASS);
$c->debug(2);
my ($first, $last) = ($c->group($group));
print "$first $last \n";
for (my $i = ($last -5); $i <= $last; $i++) {
print "$i \n";
my $subject = $c->xhdr("", $i);
print "$subject\n";
}
__END__
$
I have a tried a million things to see the contents of the array as
opposed to reference and give up. Suggestions?