Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: #p5p finds your lack of failing tests disturbing

by shmem (Chancellor)
on Mar 27, 2017 at 22:11 UTC ( [id://1186168]=note: print w/replies, xml ) Need Help??


in reply to #p5p finds your lack of failing tests disturbing

5.26 will come with a major change in how Perl builds and runs modules. The current directory will not be in @INC when running Perl programs.

This has been overdue. For decades, including the current directory in $PATH for root has been deprecated. A user may carry a firearm (as the NRA propagates) and shoot himself in the foot - or others in the head if possible (well, that's questionable too), and face the consequences. Root (say, the USA military) should never be allowed to do such a thing, because it's not root who faces the consequences, but the whole world.

I don't know how the state of affairs is on that behalf, but perl should make it outright impossible for root to include '.' - the current working directory - in @INC and do should never be able to load and eval a file which doesn't have an absolute path, whilst running under uid 0. Ceterum censeo, -T (taint mode) should be mandatory for scripts/programs running as root.

I must be dreaming... yes, but dreaming is the only way to bear/escape from reality, other than becoming insane.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1186168]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-03-29 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found