Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Naming a CPAN module that watches for closed sockets

by NERDVANA (Curate)
on Jul 23, 2024 at 22:48 UTC ( [id://11160724]=note: print w/replies, xml ) Need Help??


in reply to Re: Naming a CPAN module that watches for closed sockets
in thread Naming a CPAN module that watches for closed sockets

Appropriate to the goal, but the module is just going to give you the tools you need to write query-killing features, rather than actually doing it for you. Every application is going to have unique circumstances about how to connect to the database, so I'm not sure how I could build that into the module.

So, as it stands, it is just the piece that watches for the socket to get disconnected, and "does stuff" that you tell it to do, like send signals, close connections to hosts, or exec external commands.

  • Comment on Re^2: Naming a CPAN module that watches for closed sockets

Replies are listed 'Best First'.
Re^3: Naming a CPAN module that watches for closed sockets
by Discipulus (Canon) on Jul 24, 2024 at 07:28 UTC
    Hello NERDVANA,

    > ..watches for the socket to get disconnected, and "does stuff"

    so why not something IO::Socket::ManageDisconnected or IO::Socket::GetDisconnected ?

    Or if you wont something with more humor.. in Czechia they have a small troll in houses that eats sockets unpairing them.. ask choroba for the name

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
      The trolls eat socks, not sockets. They are named "lichožrouti", wich translates to something like odd-eaters. The Oddsocketeaters even have their Wikipedia page and it seems the film exists with English dubbing.

      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
        I'm enjoying this idea, though I worry that nobody would find the module if I named it that.
Re^3: Naming a CPAN module that watches for closed sockets
by Danny (Hermit) on Jul 23, 2024 at 23:28 UTC
    OrphanSocketSniffer?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11160724]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2024-09-11 10:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (13 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.