Not an answer to your problem, but are you sure that
name => (param("photo$_") =~ /.+([\w. ]+)/)[0] does what you think it does? It simply stores the last charachter which is a letter, a number or a space under the hash key "name", because the first
+ is greedy and just gives up the last character in the character class so that the second
+ is satisfied. If you want to discard the first part, which does not contain these characters (I don't know your data), then think about a negated character class, along the lines of
name => (param("photo$_") =~ /.[^\w. ]+([\w. ]+)/)[0]. But maybe I am mistaken anyways and this
does what you intend to do.
To your problem: CGI facilitates your HTML output (just from
the docs, I could never use it) by providing some interesting functions. Have you tried
print header,
start_html(-head=>meta({-http_equiv => 'refresh',
-content => "01; URL=http://eoinmurph
+y00.netfirms.com/cgi-bin/albums.cgi?status=viewall&album=$album&user=
+$user"}));
yet?
Cheers,
CombatSquirrel.
Entropy is the tendency of everything going to hell.
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.