To be honest, I wonder if you're even using Perl correctly because if you're installing CPAN modules correctly then the .pm file is stashed away in an alternative directory that's looked up via an environmental variable -- just like with Go. The Perl module shouldn't be present in your projects workspace (and actually Go makes things easier than Perl here by allowing modules to be "vendored").
Go and Perl are very similar in a great many ways:
+ Both languages order modules/packages by directory hierarchies
+ Both languages look up module/package paths via special environmental variables
+ Both have CLI tooling to download and install modules/packages
+ Both have CLI tooling to read module/package documentation
+ Both are very much command line orientated
+ Both are imperative languages who's object systems feel like a half-arsed after thought and thus both really feel more at home writing functional code than OOP.
+ Both allow functions to return multiple parameters (a trait that's not too common outside of Perl and Go)
+ Both are strictly typed, support duck typing, and have a fairly limited type system.
+ Both treat arrays/slices and hash/maps as special types where the runtime has to have special code for handling them (ie you couldn't create a custom data type like a array/slice nor hash/map using Perl/Go's own standard library).
In fact the very reason I warmed to Go was because it felt like a nice hybrid between Perl and C. This was why I was so baffled when you said Go had some hidden behaviours under the hood when in fact managing a Go project is actually very similar to managing a Perl project.
The main thing I was going on is "Here's a GitHub link, add it to your code and you have an instant logger thing". Magic in my eyes and this blinding light throws me off.
Unlike Perl where the code is in a .pm file in front of you. That was what I was trying portray.
I'm going to leave this discussion to rest as it's all went wrong anyway. Tomorrow will be tomorrow and this will all be forgotten in a day.
Thank you for your responses and have a good evening.