At this node Copying complete module code into a script monk Daddio
wanted to paste module code into a script. merlyn replied pointing to no excuses about not using CGI.pm.
This concerns me because at this node A serious security problem with CGI.pm 3.01? it
is noted that it seems possible to generate a working CGI.pm with a broken $POST_MAX as this variable is no longer coded in the core CGI.pm code - it is in another module. This opens sites using this to denial of service attacks, and worse the problem appears silent.
With complex modules like CGI.pm 3.0 the core code exists not in one but several interlinked modules. While I am at a loss as to how you can generate the
problem described (the fact that there are missing modules should be picked up) I am concerned that cutting and pasting modules may lead to
code that works on the surface but has significant security or other issues.