in reply to Runtime module use and sub definitions
__Rant mode on__
This node touches one of my current sore spots. One of the main reasons that I use PERL is because I work in an enviroment with a good mix of Windows and several flavors of (li|u)nix, and in many cases I can move my scripts from one platform to another without any major modifications. Where i most often run into trouble with this is with modules that only work on Win32 or Unix. While i can see this happening where the module is limited to a specific platfrom operation (ie updating the passwd file on unix) but there are some that it makes no sense where there should not be any platform dependence yet the module is linked ot a specific platform. I just wish those who write modules would conssider at least testing thier modules who take the time to wrtie so they can be portable to other platforms whenever possible.
__Rant Mode Off __
Now that I got that out of my system, thanks for posting this snippet, i can no have another tool to deal with those situations.
|