Perl OO
by Nikhil Bharucha other posts by this author
Sep 29 2004 10:43AM messages near this date
view in the new Beta List Site
RE: Perl OO
|
RE: XML Twig - perl
This is a multi-part message in MIME format.
------_=_NextPart_001_01C4A64B.AACE0A7A
Content-Type: text/plain; charset="us-ascii"
Content-Length: 379
Lines: 15
I am taking a stab at writing an OO Perl Module. The constructor sets a
to a hash I pass to it. Problem is when I call a method after the new
method and attempt to retrieve the contents of the hash I get nothing.
I know my spelling of the hash variable is not off so it's not simply
that it doesn't exist. I am using the latest perl dev kit and active
perl.
Nick
------_=_NextPart_001_01C4A64B.AACE0A7A
Content-Type: text/html; charset="us-ascii"
Content-Length: 1722
Lines: 73
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal> <font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> I am taking a stab at writing an OO Perl Module. The
constructor sets a to a hash I pass to it. Problem is when I call a
method after the new method and attempt to retrieve the contents of the hash I
get nothing. I know my spelling of the hash variable is not off so it’s
not simply that it doesn’t exist. I am using the latest perl dev
kit and active perl. </span> </font></p>
<p class=MsoNormal> <font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal> <font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> Nick</span></font></p>
<p class=MsoNormal> <font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal> <font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
</div>
</body>
</html>
------_=_NextPart_001_01C4A64B.AACE0A7A--
Attachments:
unknown1
unknown2
unknown3
unknown4
|