> 1. Why doesn't "use strict" complain about the $1 not > being declared?
$1, $2 etc are locally scoped variables which come from the regex. A regex like: m/(..)(.*)/ will place the first two characters into $1, and the rest into $2 - according to the parathesis. > 2. How can I filter ALL of my form input variables with > this regex? Or maybe better asked; How can this be > WRITTEN to filter ALL of my form variables at once? Usually you don't want to use the same one for all, although you can. Do something like: foreach ($value1, $value2, $value3) { /^(................)$/ ? $_=$1 : undef $_; } The ? : is a special trinary operator which effectively does: if (...) {...} else {...} (...) ? {...} : {...} Take care, Jonathan Paton __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]