This code works for me. You have to type 'Child' at the prompt.
package Parent; package Child; @Child::ISA = 'Parent'; package main; chomp(my $in = <STDIN>); my $kid; if ($in =~ /(\w+)/) { $kid = $1; } print $kid->isa( 'Parent' ); print 'Child'->isa( 'Parent' );
My guess is that your untainter isn't doing what you think it's doing.
In reply to Re: isa() and taint checking
by chromatic
in thread isa() and taint checking
by webby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |