# New Ticket Created by hanenkamp # Please include the string: [perl #129244] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=129244 >
my $listener = IO::Socket::Async.listen(...); $listener.close; #!> Method 'close' not found for invocant of class 'Supply' #!> in block at ./try.p6 line 2 #!> in block at /home/example/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm line 1 #!> in block at /home/example/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm line 1 #!> in method emit at /home/example/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm line 1 I believe at one time this worked, but sometime ago, possibly with the split up between Supply and Supplier, this changed. There is no .close method on supplies, but the docs for Supply on docs.perl6.org states: "In order to close the underlying listening socket created by listen you can simply close the Supply." I am fairly certain that no longer works. I suspect there's no way to close a listening socket in the current implementation. -- Sterling Hanenkamp http://sterling.hanenkamp.com/stfl/ 785-370-4454