RE: [code-review] Hello!
Garrett Goebel <[email protected]> Wed, 4 Feb 2004 08:47:20 -0600
| Newsgroups | gmane.comp.lang.perl.code-review-ladder |
|---|---|
| Message-ID | <71BEC0D4E1DED3118F7A009027B12028034C9161@EXCH_MISSION> |
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3EB2D.528EDE3A Content-Type: text/plain; charset="iso-8859-1" Bruce Van Allen wrote: > > Besides, our() doesn't do everything 'use vars' can do :-) 'use vars' doesn't do this... #perl -e 'package Foo; our $baz=20; package Bar; print "$baz\n"' 20 -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett at scriptpro dot com ------_=_NextPart_001_01C3EB2D.528EDE3A Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2657.73"> <TITLE>RE: [code-review] Hello!</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2>Bruce Van Allen wrote:</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> Besides, our() doesn't do everything 'use vars' = can do :-)</FONT> </P> <P><FONT SIZE=3D2>'use vars' doesn't do this...</FONT> </P> <P><FONT SIZE=3D2>#perl -e 'package Foo; our $baz=3D20; package Bar; = print "$baz\n"'</FONT> <BR><FONT SIZE=3D2>20</FONT> </P> <P><FONT SIZE=3D2>--</FONT> <BR><FONT SIZE=3D2>Garrett Goebel</FONT> <BR><FONT SIZE=3D2>IS Development Specialist </FONT> </P> <P><FONT = SIZE=3D2>ScriptPro = Direct: = 913.403.5261 </FONT> <BR><FONT SIZE=3D2>5828 Reeds = Road &n= bsp; Main: 913.384.1008 </FONT> <BR><FONT SIZE=3D2>Mission, KS = 66202 &= nbsp; Fax: 913.384.2180 </FONT> <BR><FONT = SIZE=3D2>www.scriptpro.com &nbs= p; garrett at scriptpro dot com </FONT> <BR><FONT SIZE=3D2> </FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C3EB2D.528EDE3A--