File::Glob, taint, kill

| | Comments (0)
So it was decided to implement a basic kill() that kills nothing. It just sets an error code and returns that no signal was sent. This makes it so that kill() can be used to test for taintedness, which many people do.
 
Taintedness can also be tested safely with something like "eval { $data, eval 1 }". There's another way in Thomas Wegner's bug report:
 
http://sourceforge.net/tracker/index.php?func=deta il&aid=231848&group_id=7940&atid=10794 0
 
where you can substr a scalar to 0 length, then eval "# $data". Regardless, many people use kill, so it is nice to have it there.
 
Thomas' File::Glob patches, and my patches to the glob tests, were tested on perl-5.6.1-TRIAL3 and MacPerl 5.6.1d2, and it all worked, so I sent it on to p5p.
 
I am waiting to hear back from VISE on the installer license. I am hoping to do a first preview release in April. use.perl.org

Leave a comment

<pudge/*> (pronounced "PudgeGlob") is thousands of posts over many years by Pudge.

"It is the common fate of the indolent to see their rights become a prey to the active. The condition upon which God hath given liberty to man is eternal vigilance; which condition if he break, servitude is at once the consequence of his crime and the punishment of his guilt."

About this Entry

This page contains a single entry by pudge published on March 30, 2001 6:36 AM.

This Week was the previous entry in this site.

CVS update is the next entry in this site.

Find recent content on the main index or look in the archives to find all content.