Separating out common code
Suppose I have a bunch of Perl scripts and they all need some code lines that will be identical in every script. Is there anything similar to #include as seen in C and C++?
In this particular case, the lines would be data variables - so I'd be looking for something equivalent to #include <whatever.h>. However, if the lines were in fact, executable functions, it might be useful to have something equivalent to #include <whatever.c>
Any way to do this kind of thing with Perl?
"A problem well stated is a problem half solved.” - Charles F. Kettering