- or download this
my $doc = $AllDocuments->GetFirstDocument;
while ( $doc ) {
# Fetch the next document prior to running code to guard against s
+omeone deciding to delete $doc.
...
...
$doc = $NextDoc;
}
- or download this
sub GetNthDocument {
my ( $Collection, $n ) = @_;
...
return $doc;
}
- or download this
sub Doc2HTML {
my ( $doc ) = @_;
my $db = $doc->{Parent};
...
return LWP::Simple::get( "http://$server/$filepath/$view/$unid" );
}