Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Fletch's scratchpad

by Fletch (Chancellor)
on Jun 02, 2004 at 01:56 UTC ( #358991=scratchpad: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    TEST="foo=bar%20baz" perl -MScalar::Util=tainted -T -le 'print "TEST t
    +aint? ", tainted( $ENV{TEST} ); ($a, $b) = split( /=/, $ENV{TEST} ); 
    +print "a? ", tainted( $a ), "\tb? ", tainted( $b ); $b =~ s/%([a-fA-F
    +0-9][a-fA-F0-9])/pack("C", hex($1))/eg; print "b? ", tainted( $b )'
    TEST taint? 1
    a? 1    b? 1
    b? 1

Log In?

What's my password?
Create A New User
[stevieb]: here I thought my Perl code was wrong, but it turns out I had a poor miscoonception of [https://arduino. questions/42879/ reading-an-output- analog-pin-with-an -input-analog-pin
[stevieb]: meh... I'll try again
[stevieb]: I thought my Perl code was bad, but I misunderstood Arduino pins.

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2017-07-22 03:32 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (336 votes). Check out past polls.