Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

pudge (1)

pudge
  (email not shown publicly)
http://pudge.net/
AOL IM: Crimethnk (Add Buddy, Send Message)

I run this joint, see?

Journal of pudge (1)

Friday March 30, 2001
09:36 AM

File::Glob, taint, kill

[ #40 ]

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.