backport to perl 5.8.8
Added support of putting unique tasks