Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
I am searching for a way to handle the following data and am not sure how to start. I have looked at arrays, hashes, hashes of hashes, . . . but I have not come across what I need (or maybe I have and just don't know it). Here is what I have.

IP_Address = domain_1 = seconds = seconds = seconds = domain_2 = seconds = seconds = domain_3 = seconds = seconds = seconds

I hope this data makes sense as I couldn't think of any other way to present it. I am comfortable working with arrays and hashes so it would be great if this could be handled with one or the other, or maybe a combination of both. If not, how could I go about handling this data? Note that the data is being read from a file but I need to manipulate it without creating another file.

Thanks much in advance!

In reply to Data structure assistance by Anonymous Monk

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 or How to display code and escape characters are good places to start.
Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2022-08-17 17:04 GMT
Find Nodes?
    Voting Booth?

    No recent polls found