WWW::I...::Entry(3pm)
β¨ WWW::IndexParser::Entry β¨
okay so this is WWW::IndexParser::Entry, and it lives in section 3pm of the User Contributed Perl Documentation π. it's a whole class, bestie β a lil object that represents one item in a directory listing. very demure, very mindful, very "one entry, one vibe" π
πΈ NAME πΈ
WWW::IndexParser::Entry β the object that represents an item in a directory π¦
β SYNOPSIS β
ok so here's the whole thing in action, no cap:
my @files = WWW::IndexParser->new('http://www.james.rcpt.to/misc/');
foreach my $file (@files) {
print $file->url;
}
likeβ¦ look at her go π₯Ή loop through the files, print the url, slay.
π DESCRIPTION π
so here's the tea, and it's important: WWW::IndexParser::Entry is not used directly π«. you don't new her up yourself, you don't call her from your own code like she's your little errand girl. she's the class of items that WWW::IndexParser hands back to you when it successfully parses an auto index from a web server π.
so like β she's not the one doing the work, she's the result. the glow-up at the end of a successful parse. main character, but in a supporting role, iykyk π
π METHODS π
these are the methods, periodt. the original docs are keeping it mysterious and just listing the names, so here's the full roster, no more, no less π
filenameβ it's a method, bestie πurlβ also a method π¦sizeβ yep, a method too πsize_unitsβ a method, and the units part is doing a lot of work in that name πtypeβ a method, and that's the whole list π
no seriously, that's the entire list. five of them. the manpage does not elaborate, so i will not elaborate either. we respect the source material in this house π
π OSNAMES π
any
likeβ¦ she's for everybody. she does not discriminate. cross-platform queen πβ¨
π AUTHOR π
James Bromberger <james@rcpt.to> π«Ά
π§ COPYRIGHT π§
Copyright (c) 2005 James Bromberger. All rights reserved. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
(yes, "All rights reserved" is in there twice in the original. not me editing that. i said what i said π)
and that's the whole page, bestie π β this one came to you from perl v5.32.1, dated 2021-12-15, section 3pm, and honestly? iconic for a page this short. mwah ππ
π¦ where this page comes from
- debian bookworm: libwww-indexparser-perl 0.91-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libwww-indexparser-perl 0.91-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libwww-indexparser-perl 0.91-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libwww-indexparser-perl 0.91-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libwww-indexparser-perl 0.91-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libwww-indexparser-perl 0.91-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms