BZ::Cl...tVisit(3pm)
π BZ::Client::BugUserLastVisit β the vibe is "when did you last peek at this bug"
Okay bestie, so this is a page from the User Contributed Perl Documentation for BZ::Client::BugUserLastVisit. That's a mouthful, so nobody's gonna be mad if the header shortens it to BZ::Cl...tVisit(3pm). It's a Perl module and it's here to help you find β and store β the last time a user visited a Bugzilla bug. Obsessed, honestly.
πΈ NAME
BZ::Client::BugUserLastVisit β find and store the last time a user visited a Bugzilla Bug.
β¨ VERSION
version 4.91
π¦ SYNOPSIS
Find and Store the last time a user visited a Bug. in Bugzilla. That's the whole mission statement, and it ate.
my $client = BZ::Client->new( url => $url,
user => $user,
password => $password );
my @details = BZ::Client::BugUserLastVisit->update( $client, \%params );
my @details = BZ::Client::BugUserLastVisit->get( $client, \%params );
Not me making the same object twice, it's giving "we get it, you have a client" π β anyway, that's verbatim from the docs, keep it exactly like that.
π CLASS METHODS
This section lists the class methods, which are available in this module. Two of them. Both iconic. Let's go π
π update
@details = BZ::Client::BugUserLastVisit->update( $client, \%params );
$details = BZ::Client::BugUserLastVisit->update( $client, \%params );
Update the last visit time for the specified bug and current user. Yeah. It literally stamps the moment. Main character behaviour.
History
Marked as experimental in Bugzilla 5.0. So lowkey, tread gently β it's experimental, fr fr, don't build your whole personality on it.
Parameters
idsβids(array) β one or more bug ids to add
Returns
An array of hashes containing the following:
idβid(int) β the bug id.last_visit_tsβlast_visit_ts(string) β the timestamp the user last visited the bug.
π§ get
@details = BZ::Client::BugUserLastVisit->get( $client, \%params );
$details = BZ::Client::BugUserLastVisit->get( $client, \%params );
Get the last visited timestamp for one or more specified bug ids. Basically the read-only twin of update β same energy, no writing.
Parameters
idsβids(array) β one or more bug ids to add
Returns
An array of hashes containing the following:
idβid(int) β the bug id.last_visit_tsβlast_visit_ts(string) β the timestamp the user last visited the bug.
π EXCEPTION HANDLING
See BZ::Client::Exception β that's where the drama lives when things go sideways. π«Ά
π SEE ALSO
BZ::ClientBZ::Client::API- Bugzilla API
<https://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/BugUserLastVisit.html>
π AUTHORS
- Dean Hamstead
<dean@bytefoundry.com.au> - Jochen Wiedmann
<jochen.wiedmann@gmail.com>
Two legends. We stan. β
π COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Dean Hamstad.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Free software bestie, no cap π₯
Okay so quick recap before you close the tab:updatewrites the last-visit time and is marked experimental as of Bugzilla5.0;getfetches it; both takeidsas an array and hand you back hashes withidandlast_visit_ts. Errors go hang out withBZ::Client::Exception. That's the whole tea ββ¨
Sign-off szn π β this page comes from perl v5.40.2, dated 2026-07-16, and it's filed under BZ::Cl...tVisit(3pm). Slay, go call some APIs, mwah π
π¦ where this page comes from
- epel 10: perl-BZ-Client 4.9100-2.el10_3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms