-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is really a general perl question, but I'm hitting it because of 
DBIx::Recordset's use of typeglobs.

In general I want to use "use strict;" in my code.  However if I do 
that, then this gets me in trouble.

        sub foo {
            local(*set) = DBIx::Recordset...
            print $set{bar}

What is the preferred solution?  I could declare a "my (%set)" before 
the local.  I could temporarily turn off the strict settings.  Is 
there anything better?  What I'd really like is to tell "use strict" 
that I want strict vars, but not to let me use local.
- -- 

Kee Hinckley - Somewhere.Com, LLC
http://consulting.somewhere.com/
[EMAIL PROTECTED] (or ...!alice!nazgul for time travelers :-)

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Security 7.0.3

iQA/AwUBO81xtCZsPfdw+r2CEQLmlQCeI32k+TDJCNG+Fv9+ODh8ssOvPvsAn0v5
nBrqFMRq06u/f9UFCxsFCK8C
=FC6U
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to