I am in the process of converting our linux perl scripts to one that 
can be used on a w2k IIS and activeperl...  I have the sendmail 
module installed...

i have no problem with sending form information that is straight 
forward.  However I would like to know if "ifs and foreach" 
statements work inside the $mail{body}=...

If so, how would you convert the following (roughly):
    print MAIL "This feedback formt was submitted by\n";
    print MAIL "$Config{'realname'} ($Config{'email'}) on $date\n";
    print MAIL "-" x 75 . "\n\n";

    if (@Print_Config) {
        foreach $print_config (@Print_Config) {
            if ($Config{$print_config}) {
                print MAIL "$print_config: $Config{$print_config}\n\n";
            }
        }
    }

thanks.
------- End of forwarded message -------
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to