|I plan on having a lot (at least 1000) and would like to have some sort of search method on the pictures. I'd like to use some sort of database, either mySQL or Berkeley_DB (both of which are on my webserver) that can be easily searched using one or more criteria to return relevant photos.
Unless you need experience using a database more than you need "soon", you'll be better off using a flat file. One thousand records isn't very much (if you have about 80 characters of data per line, that's only 80K). The overhead of searching a relatively small flat file is going to be a lot less than the overhead imposed by a database.
I would go simple at first. Use a comma-delimited file, and get at it through DBI via DBD::CSV (or some other DBD:: that supports text files). This will give you the programmatic experience of using a database. Then slip MySQL in undereath at a later date.
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>
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
Want more info? How to link or
or How to display code and escape characters
are good places to start.