in reply to Re^4: Passing database ID to \&hook through $data (CGI)
in thread Passing database ID to \&hook through $data (CGI)

#$data = $1 if $data =~ //;# untaint id - for some reason this sets th +e contents of $data to .. nothing?
You're supposed to fill in something like /^(\d+)/ :)

Replies are listed 'Best First'.
Re^6: Passing database ID to \&hook through $data (CGI)
by k2OS (Initiate) on Sep 20, 2008 at 18:27 UTC
    You're supposed to fill in something like /^(\d+)/

    doh, and doh again. that one I walked right into, as I actually did know, but completely overlooked.. ;)