Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Your use of the term "flat file" does not make sense to me. I can't figure out what you really mean when you say:
The flat file has this
@HASHES = ( \%Data_Directories_fetch, \%DataDirectories_erase, \%Program_fetch, \%Program_erase, \%Configuration_and_Table_Files_erase, \%Configuration_and_Table_Files_fetch, \%Create_Database, \%Load_Database );
That's just a snippet of perl code, building an array from a list of references to hashes. It is not a "flat file", because a flat file is a stream of plain-text data, usually structured as a table (each line of text is a row, containing one or more columns).

When you say "I am attempting to read a flat file that describes an array of hash references...", I don't understand how a flat file can do this -- hash references can only exist as such in a running perl script. A flat file can contain the data that would be loaded into a hash by a perl script, and then you can use a reference to the hash within that script. But the flat file has nothing to do directly with hash references.

You'll need to clarify what it is you are trying to do.


In reply to Re: Dereferencing Mystery by graff
in thread Dereferencing Mystery by Anonymous Monk

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 pondering the Monastery: (2)
As of 2024-04-20 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found