One of the things that I love about Perl is that the value of a scalar can be an integer, a float, a 20 character string or a 2MB string - and as its value changes between these, the conversions are done automatically and transparently. It's "typeless".
Sure, its not as efficient as if the compiler had hints about what to expect - but for many applications its fine, and the extra few milliseconds the interpreter wastes is made up for by the programmer not having to think about type conversions, checking and compatibility.
So why can't I have the same thing from my database? Every database I've seen has been an SQL relational database. You have to take a long time specifying column types and what not. Why can't we have a typeless relational database which stores the columns in the same way as perl scalars?
Or is there already one? Or am I missing something?
Come to think of it. What mature CPAN modules are there that implement a non-SQL database of any kind, relational or not?
-Andrew.
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.