Moreover, I wanted to write a piece of code that mandated the requirement of taint mode where the lexical term 'use Taint' was employed. Subsequently, I wasn't sure if this post rightly belonged in Meditations or Poetry :-)
package Taint; require 5.8.0; use Carp; croak( 'Code execution called without -T (taint) switch' ) unless ${^T +AINT}; 1; __END__
And in usage ...
kathmandu:/home/development/perl-5.8.0# ./bin/perl5.8.0 -e 'use Taint' Code execution called without -T (taint) switch at -e line 1 Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. kathmandu:/home/development/perl-5.8.0# ./bin/perl5.8.0 -T -e 'use Tai +nt' kathmandu:/home/development/perl-5.8.0#
perl -e 'print+unpack("N",pack("B32","00000000000000000000000111101101")),"\n"'
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: [5.8.0 Note] use Taint or die
by RMGir (Prior) on Nov 29, 2002 at 13:23 UTC | |
by Abigail-II (Bishop) on Nov 29, 2002 at 13:31 UTC | |
by theorbtwo (Prior) on Nov 29, 2002 at 23:11 UTC | |
by particle (Vicar) on Nov 30, 2002 at 02:06 UTC | |
by theorbtwo (Prior) on Nov 30, 2002 at 02:29 UTC | |
by Abigail-II (Bishop) on Nov 30, 2002 at 15:47 UTC |