[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[FWP] a quick break from golf




> @FormData = $InCGI->parse_form_data();
> 
> for($i = 0; $i <= $#FormData; $i += 1) {
>     if($FormData[$i] eq 'T1') {
>        $vD4 = $FormData[$i + 1];
>        last;
>     }
> }
>   # build path to sub template
>   $incfile = '../dictionary/dict-html/' . $vD4;

So incredible it took me a while to figure out what was going on. Can
you say "hash phobia"?

And yes, $incfile is eventually open()ed and sent to the browser.


Stu.

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe