Skip Menu |

This queue is for tickets about the Router-XS CPAN distribution.

Report information
The Basics
Id: 121866
Status: open
Priority: 0/
Queue: Router-XS

People
Owner: Nobody in particular
Requestors: perl [...] toby.ink
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Router::XS is effectively a singleton.
Would be nice if I could have two Router::XS objects which stored different routing tables.
On Wed May 24 12:20:58 2017, TOBYINK wrote: Show quoted text
> Would be nice if I could have two Router::XS objects which stored > different routing tables.
Hi Toby, I've been thinking about this too. If it were OO, the C code could keep a router table per object created with cleanup on destroy. Is that the kind of solution you were thinking about? Did you have an example use case? Thanks David