if i create a queue and pass it as parameter to a thread like
my $q = new Thread::Queue; my $thr = threads->new(\&thr_func, $q); sub thr_func{ my ($queue) = @_; }
is this queue passed as a reference or rather is $q from main block a reference to the queue (as it is created with 'new' keyword)?
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |