Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I've started yet another project, inspired by an outside source (A Ruby tutorial...). They suggested writing an address book and accessing it, and I realized that this could be a great way to learn about hashes.
After a lot of scribbling of notes during spanish and photography (class), I realized that I may be going about it wrong: Sure, a hash of hashes of hashes looks (structurally) like the way I should go about making one, but with the hypothetical user constantly adding new fields within new fields within new fields, this could easily get out of hand (memory wise) (and I won't even get into the logical nightmares I faced when trying to use my limited knowledge to parse/save/recreate these {hash trees?} between sessions).

Wracking my brain for things i've seen on the interweb, MySQL popped up as a solution. I don't know the first thing about it, or why it would help me, so I figured i'd ask the experts here.

Is MySQL a good way to implement this? Can I use it and perl together? If so, where would be a good place to learn it?

Thanks in advanced.
C(qw/74 97 104 112/);sub C{while(@_){$c**=$C;print (map{chr($C!=$c?shift:pop)}$_),$C+=@_%2!=1?1:0}}

In reply to MySQL and perl? Or something else? by Andrew_Levenson

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 lurking in the Monastery: (2)
As of 2024-04-24 17:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found