I take all your points with the humility of a learner, but I must retort something you mistook my wordings. I never once said that book was wrong, I only stated that the code in the book was not working. There is a fine line betwixt the two, but i never really even meant to imply that the book was in any way wrong.Besides, please state the wrong assumptions that I made. If you expect to teach someone, you must define the wrong assumptions the student has made. And once more, I can read. The code you replace with mine is that of the Cookbook, from which the error was generated:
cannot find object "Person" in package main. I was forced in to main before I even made my wrong assumptions. I also tried very hard to copy code correctly and right any typos on the <bold>four</bold> different modules I tried. If you read this please respond but stating the assumptions I made and correcting them. Even if you flame me at least I can move on with my lessons
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|