in reply to Re^6: Use of uninitialized value in substr
in thread Use of uninitialized value in substr

I don't know what's contrived about
substr(..., `$cmd`)
But fine, surely the following isn't contrived
substr(..., pop(@a))