Todd Rinaldo via Exim-dev <[email protected]> (Di 14 Feb 2017 19:36:01 CET): .. > > But, that's basically the same what taint mode does, isn't it? > > So, why not add -T to the #! line? This would give us @INC cleansing > > *and* additional taint checks. > > As far as I know, -T does not remove support for relative paths. It just > takes . off the end.
Yes, it strips off the dot, *except* you set it there by using -I. or -Mlib=. on the command line. And it ignores any PERL5LIB, PERL5OPT environment. The only chance to get it there is to call the interpreter manually and use -I. or -Mlib=., where the dot is quite visible. All other parts of the @INC are absolute, as far as I see and know. -- Heiko
signature.asc
Description: Digital signature
-- ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
