in reply to Missing code in replicating cgi script

Is it worth pointing out that the two "missing" lines are already in your script, about half-way down, at the line immediately after the $header_text substitution?

Given that the script uses strict, the lines you've provided (assuming they go together) would have to appear somewhere after the my %fields=&MLMP::LoadMember($key); line, since %fields isn't defined until that point. Given they probably do some initialisation for other MLMP functions, immediately after defining %fields is probably a reasonable spot.

As grep mentioned previously, since we don't actually know what those functions do, it's difficult to give more specific advice.

Paul Fenwick
Perl Training Australia

  • Comment on Re: Missing code in replicating cgi script