That still allows your deps to be stateful and out-of-band of the build. I'd prefer the build to be exclusively aware of version numbers in one place and let the code be version agnostic.
I'm not a Perl user, I don't consider running sed on my source code to be a "bonus".
Still better than Go though.