in reply to Which comes first . . .

I'm pretty sure that qw/$lib/ is not what you think it is. It's literally the four-character string you see there, starting with a $.

Caution: Contents may have been coded under pressure.