in reply to Queue.pm

my $class = ref($proto) || $proto;
Ugh. See ref($proto) - just say no!.

-- Randal L. Schwartz, Perl hacker