From: Eric Hodel Date: 2003-02-08T06:52:40+09:00 Subject: Re: easy access for CGI query --UkokfXldvRlmz8/+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Wakou Aoyama (wakou@ruby-lang.org) wrote: > On Sat, Feb 08, 2003 at 06:08:48AM +0900, > Eric Hodel wrote: >=20 > > But still magic and can be confusing, it smells of PHP's register_globa= ls > > evilness. >=20 > Yes, therefore This plan is not use globals and not pollute other > scopes. >=20 > How about this as additional way? in PHP, it polutues the global namespace, here it polutes the CGI namespace, I don't think that's much of a tradeoff, especially when cgi.params['foo'] works just as well. I just don't like it in the standard library, as it can cause too many surprises, and doesn't feel right. --=20 Eric Hodel - drbrain@segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --UkokfXldvRlmz8/+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE+RCqmMypVHHlsnwQRAt0IAKCSCu6EuQ4Be2W4ma84v2Oo9JWE/ACg0qre P3bjk3n/qTe6czvDk5w8fw8= =VM65 -----END PGP SIGNATURE----- --UkokfXldvRlmz8/+--