The other side of $0 

sub update_status {
    my($status) = @_;
    $0 = "$progname: $status";
}