http://www.perlmonks.org?node_id=977141


in reply to Term::Progress bar completes at 5%

Nowhere you are setting $task.

And please, don't abuse symbolic references this way. It just make me cringe.

Also: I'm not convinced you'll see the destination of a file copy grow over time. More likely, the filesize will just jump from 0 to 100%; that's my guess, anyway.