Net::T...istory(3pm)

πŸ“¦
version 0.16 Β· 2 versions
  • 0.16 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.16 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Net::Trac::TicketHistory β€” a Trac ticket's history, bestie πŸ’–

okay so picture this: you're deep in the Net::Trac::TicketHistory module (it's a 3pm page, Perl user-contributed docs, you know the vibe) and you just wanna know what happened to a ticket. this is the class for that. it's giving "receipts, but make it Trac". 🧾✨


✨ SYNOPSIS ✨

my $history = Net::Trac::TicketHistory->new( connection => $trac );
$history->load( 13 );

# Print the authors of all the changes to ticket #13
for ( @{ $history->entries } ) {
    print $_->author, "\n";
}

no cap, that's literally the whole flow. make the thing, load a ticket number, loop the entries, print the authors. slay. πŸ’…


🌸 DESCRIPTION 🌸

so this class represents a Trac ticket's history β€” and honestly? it's really just a little collection of Net::Trac::TicketHistoryEntries. that's it, that's the whole personality. a glow-up container for entry objects. πŸŽ€


πŸ‘‘ ACCESSORS πŸ‘‘

connection

(the connection accessor. iconic. it's there. 🫢)

ticket

returns the ID of the ticket whose history this object represents. like, which ticket are we talking about, bestie? this tells you. πŸ”₯

entries

returns an arrayref of Net::Trac::TicketHistoryEntrys. (yes, that's the exact pluralisation in the original, we don't touch it, we respect it πŸ™ˆ)


⭐ METHODS ⭐

load ID

loads the history of the specified ticket. give it an ID, it does the thing. periodt. πŸ’œ


πŸ“œ LICENSE πŸ“œ

copyright 2008–2009 Best Practical Solutions.

this package is licensed under the same terms as Perl 5.8.8. so like, legal stuff, but make it open source. 🌈


and that's the whole page, bestie!! πŸ¦‹ this one's from perl v5.36.0, dated 2022-12-12 β€” so when you're out here slinging Net::Trac::TicketHistory around, just know you're standing on the shoulders of a 2022-era manual page. mwah. πŸ’–βœ¨πŸ“

πŸ“¦ where this page comes from