Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Thank you all for the responses. The example and the explanation are very informative. Hopefully, I'll not experience (i.e. create) any errors when try it out in my script. :-)

For the record, this is not a homework assignment as apl implies. It's a reasonable thing to suspect but it's incorrect and I don't want the monks to think I'm taking advantage of their help. I'm a network engineer tasked with making sense out of years worth of accumulated syslog data. My code skills (a little C 10 years ago and sporadic uses of perl over the years) are quite limited. The question about whether or not to use a hash was a sincere inquiry as I wasn't sure if there was a more appropriate structure which to employ.

Thank you all again for your help. It is sincerely appreciated.

Rob
ElMagnifico - Ask for it in your grocer's freezer.

In reply to Re^3: Need help on hashes. by ElMagnifico
in thread Need help on hashes. by ElMagnifico

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • 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.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-20 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found