C
Camelback Jones
Yep, that's ol' # 18.4 from O'Reilly's Perl Cookbook.
It seems to work okay, except that when trying to print the results of, for
example,
$bodytext = $server->body($first) or die "aaaargh!!!\n";
all I can get is ARRAY(<some memory address>).
I've tried printing $bodytext[0], it's blank. I've tried a foreach loop,
also blanks... I'm pretty sure the body isn't really blank, because the
header does the same thing... No doubt I'm doing something stupid either in
the retrieval or the print, but I haven't been able to print anything other
than ARRAY(whatever) or blank...
I know this is ignorance on my part, but I've tried all the examples I can
find in various "Printing Array Contents" helpful hints, with nothing
resulting except the same (*&#@$ thing. And it doesn't seem to matter what
newsgroups I pick - this one, alt.test, alt.conspiracy, rec.woodworking...
whatever.
Any ideas?
It seems to work okay, except that when trying to print the results of, for
example,
$bodytext = $server->body($first) or die "aaaargh!!!\n";
all I can get is ARRAY(<some memory address>).
I've tried printing $bodytext[0], it's blank. I've tried a foreach loop,
also blanks... I'm pretty sure the body isn't really blank, because the
header does the same thing... No doubt I'm doing something stupid either in
the retrieval or the print, but I haven't been able to print anything other
than ARRAY(whatever) or blank...
I know this is ignorance on my part, but I've tried all the examples I can
find in various "Printing Array Contents" helpful hints, with nothing
resulting except the same (*&#@$ thing. And it doesn't seem to matter what
newsgroups I pick - this one, alt.test, alt.conspiracy, rec.woodworking...
whatever.
Any ideas?