[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed Apr 28 09:52:38 2004 -->
- <!--x-from-r13: cunfrsk ng znthfncghf.pbz (Xnfba Sgurevqtr) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: 1083110917.17415.153.camel@devel -->
- <!--x-reference: [email protected] -->
- <!--x-reference: 1083126767.18748.179.camel@devel -->
- <!--x-reference: [email protected] -->
- <!--x-reference: 1083154714.17392.188.camel@devel -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Organizing data -->
- <li><em>date</em>: Wed Apr 28 09:52:38 2004</li>
- <li><em>from</em>: phasefx at magusaptus.com (Jason Etheridge)</li>
- <li><em>in-reply-to</em>: <<a href="msg01236.html">[email protected]</a>></li>
- <li><em>references</em>: <1083110917.17415.153.camel@devel> <<a href="msg01212.html">[email protected]</a>> <1083126767.18748.179.camel@devel> <<a href="msg01220.html">[email protected]</a>> <1083154714.17392.188.camel@devel> <<a href="msg01224.html">[email protected]</a>> <<a href="msg01227.html">[email protected]</a>> <<a href="msg01229.html">[email protected]</a>> <<a href="msg01236.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Organizing data</li>
Yeap. I missed it the first time around:
Using a reference as a string produces both its referent's
type, including any package blessing as described in the
perlobj manpage, as well as the numeric address expressed in
hex. The ref() operator returns just the type of thing the
reference is pointing to, without the address. See the ref
entry in the perlfunc manpage for details and examples of
its use.
It doesn't warn against using a reference as a string though. What's
the fear there?
> Granted an object would probably count as a value in the situation at
> hand this wouldn't be what you'd want, but it's nice to know.
Would Perl be a good language for me to learn object oriented
programming? Or would I be better served with something like Python or
Java? It's been ages since I messed with C++ or Smalltalk (or
especially Turbo Pascal 5.5), and I never really did anything on a scale
where I could see an advantage to using OOP with all those neat
buzzwords like polymorphism and stuff.
-- Jason
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="01244" href="msg01244.html">[ale] Organizing data</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Chris Fowler)</li></ul></li>
<li><strong><a name="01253" href="msg01253.html">[ale] Organizing data</a></strong>
<ul><li><em>From:</em> hbbs at comcast.net (Jeff Hubbs)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="01209" href="msg01209.html">[ale] Organizing data</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Chris Fowler)</li></ul></li>
<li><strong><a name="01212" href="msg01212.html">[ale] Organizing data</a></strong>
<ul><li><em>From:</em> phasefx at magusaptus.com (Jason Etheridge)</li></ul></li>
<li><strong><a name="01213" href="msg01213.html">[ale] Organizing data</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Chris Fowler)</li></ul></li>
<li><strong><a name="01220" href="msg01220.html">[ale] Organizing data</a></strong>
<ul><li><em>From:</em> phasefx at magusaptus.com (Jason Etheridge)</li></ul></li>
<li><strong><a name="01221" href="msg01221.html">[ale] Organizing data</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Chris Fowler)</li></ul></li>
<li><strong><a name="01224" href="msg01224.html">[ale] Organizing data</a></strong>
<ul><li><em>From:</em> phasefx at magusaptus.com (Jason Etheridge)</li></ul></li>
<li><strong><a name="01227" href="msg01227.html">[ale] Organizing data</a></strong>
<ul><li><em>From:</em> fletch at phydeaux.org (Fletch)</li></ul></li>
<li><strong><a name="01229" href="msg01229.html">[ale] Organizing data</a></strong>
<ul><li><em>From:</em> phasefx at magusaptus.com (Jason Etheridge)</li></ul></li>
<li><strong><a name="01236" href="msg01236.html">[ale] Organizing data</a></strong>
<ul><li><em>From:</em> fletch at phydeaux.org (Fletch)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg01241.html">[ale] Organizing data</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg01243.html">[ale] Organizing data</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg01236.html">[ale] Organizing data</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg01244.html">[ale] Organizing data</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#01242"><strong>Date</strong></a></li>
<li><a href="threads.html#01242"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>