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}}
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.