In my
earlier post, I had created a function to read values from a configuration/INI file (and for those who contributed advice, thank you!). I want to use this function in multiple perl scripts. While I could just copy the code to each script, I don't want to have to change the code in every script when I make a change.
I realize I could make this into a package, but that seems like overkill for just one function. Is there anything in perl equivalent to #include in C other than making a module of it? Making a module looks a bit beyond me at this point.