[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] No Tainting?



info@totalnetnh.net (Kevin Hemenway) wrote:
>b) deserves some more info. Right now, I check for my path delimiter by 
>comparing $^0 and then setting $delimiter to whatever I need (: for Mac, 
>etc.). Can I turn on tainting based on this check as well? (ie. live with 
>menu tainting in MacPerl, but turn tainting on for other OS's.)

Ronald's answer is good, it'll take care of your needs.  In answer to
your second question: no, you can't turn on tainting at runtime in
response to some condition.  It's too late for that. =) 

Tainting needs to be turned on at compile time in order to be effective,
so Perl requires that that's the only time it *can* be turned on.


  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  ken@forum.swarthmore.edu                            The Math Forum



# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org