Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Writing general code: real world example - and doubts!

by Zaxo (Archbishop)
on Apr 05, 2005 at 02:57 UTC ( [id://444844]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Tie::Constrained qw/detaint/;
    tie my $var, 'Tie::Constrained', sub {
        my $re = qr/whatever/;
        $_[0] =~ /$re/ and &detaint;
    };
    
  2. or download this
    $var = $tainted_thing;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://444844]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-19 20:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found