Net::H...ateChat(3pm)
π Net::Hotline::PrivateChat(3pm) β the little private-chat object that lives in your Net::Hotline::Client's walls π
okay bestie, listen up β¨ this page is from the User Contributed Perl Documentation section of the manual, and it's all about Net::Hotline::PrivateChat β a private chat object that's used internally by Net::Hotline::Client. she's not the main character of your script, she's the backstage crew. π
πΈ NAME πΈ
Net::Hotline::PrivateChat β a private chat object used internally by Net::Hotline::Client. lowkey she's shy, she doesn't want to be instantiated by you directly, she just wants to hold your chat info. π«Ά
β¨ SYNOPSIS β¨
use Net::Hotline::PrivateChat;
$pchat = new Net::Hotline::PrivateChat;
$pchat->subject("Issue 1: Monkey beards");
$pchat->reference(0x313337);
...
like yes, you can do this, but read the next section before you get any ideas π
π¦ DESCRIPTION π¦
Net::Hotline::PrivateChat is a simple class for storing and retrieving private chat information. that's it. that's the whole vibe. π§
bestie, fr fr β you should never have to create your ownNet::Hotline::PrivateChatobjects when you're usingNet::Hotline::Client. the client handles that for you, no cap. all you should ever need is getting attributes (and, to a lesser extent, setting them). that's the whole job. π
π CONSTRUCTION π
new REF, USERLIST, SUBJECT
creates a new Net::Hotline::PrivateChat object, and she comes with three lil pieces of info:
REFβ a numberUSERLISTβ a reference to a hash ofNet::Hotline::Userobjects, keyed by socket numberSUBJECTβ a string
and if you forget any of these arguments? they get set to undef. no drama, no error, just undef. π
π METHODS π
all the Net::Hotline::PrivateChat methods are simple attribute get/set routines. the way that works is:
- if you give one an argument, it sets that attribute
- in all cases, it returns the current value of the attribute
so it's giving very much "give me a value and I'll update, otherwise I'll just hand you what I've got." iconic. π
reference NUMβ the private chat reference number. βsubject TEXTβ the subject of the private chat. πuserlist HASHREFβ the list of users in the private chat. π
π AUTHOR π
John C. Siracusa (siracusa@mindspring.com) β the legend, the icon, the moment. π
π COPYRIGHT π
Copyright(c) 1999 by John Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. periodt. π
and that's the whole page, bestie! this one shipped as part of the User Contributed Perl Documentation in perl v5.32.0, dated 2021-01-09 β so if you're reading the Net::H...ateChat(3pm) page, you're looking at the goods from that exact release. slay, go forth, and don't make your own private chat objects. πβ¨π¦
π¦ where this page comes from
- debian bookworm: libnet-hotline-perl 0.83-3.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libnet-hotline-perl 0.83-3.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libnet-hotline-perl 0.83-3.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libnet-hotline-perl 0.83-3.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libnet-hotline-perl 0.83-3.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libnet-hotline-perl 0.83-3.1 Β· 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