CC: | ron [...] savage.net.au |
Hi Alexei
I'm using Queue::Base, and it does just what I want.
However, I have a requirement to get a copy of the elements in the
queue, repeatedly.
At the moment I call @all = $q -> remove_all() and then $a -> add(@all),
but that is very crude.
Could you please add a copy() method.
TIA.
--
Ron Savage
http://savage.net.au/
I'm using Queue::Base, and it does just what I want.
However, I have a requirement to get a copy of the elements in the
queue, repeatedly.
At the moment I call @all = $q -> remove_all() and then $a -> add(@all),
but that is very crude.
Could you please add a copy() method.
TIA.
--
Ron Savage
http://savage.net.au/