From: Chad Perrin Date: 2011-06-02T08:14:10+09:00 Subject: Re: instance variable in pseudo-global scope --gatW/ieO32f1wygP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 02, 2011 at 04:37:00AM +0900, Sean O'Halpin wrote: >=20 > Well, @vars in main are visible to methods defined in main. For example: =2E . . >=20 > Is that the kind of difference you're interested in? Yes, it is. Evidently, instance variables are lexical scope, which really should have occurred to me based on the fact I have actually made use of that fact in the past. Thank you. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --gatW/ieO32f1wygP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk3mxD0ACgkQ9mn/Pj01uKUTxwCff6p6vZ6q6jawzsyP5B8a+ho2 TnsAoNbMXoRXH0WwuK8Vb5FjOQJPY2RO =l2QJ -----END PGP SIGNATURE----- --gatW/ieO32f1wygP--