From: Michel B. <mi...@bo...> - 2005-02-15 17:41:48
|
Le Mardi 15 F=E9vrier 2005 17:35, Lionel Bouton a =E9crit : > > I'd prefer to have > if ($fqdn =3D~ $known_server_patter) ... > > and so on. > than the full regexp in the code ! The accidental keypress in the middl= e > of the regexp could have unforseen consequences and would be hard to > spot without a cvs diff Well, "accidental keypresses" in the middle of computer code usually have= =20 unpleasant consequences ;-) IMHO, these regexp that are part of the "smart" routine are fixed "code" = and=20 should be considered as such, not parameters or whatever. There's no spec= ific=20 reason to extract them out of the code and I don't see why somebody would= be=20 more prone to put "accidental keypresses" in there rather than elsewhere.= ..=20 So unless you want to put all the code in an external table... ;-) --=20 Michel Bouissou <mi...@bo...> OpenPGP ID 0xDDE8AC6E |