- or download this
my $filename = "";
$filename = $hash{"LIS_FILE"} if ( $node eq "sam" );
...
my $mail_server_name = "";
$mail_server_name = $hash{"MAIL_SERVER"} if ( $node eq "sam" );
$mail_server_name = $hash{"MAIL_SERVER_TEST"} if ( $node eq "cad2" );
- or download this
my $key_ext=$node eq "sam" ? "" : "_TEST";
my $filename = $hash{"LIS_FILE" .$key_ext};
...
my $sqt_path = $hash{"SQT_PATH" .$key_ext};
my $database_name = $hash{"DB_NAME" .$key_ext};
my $mail_server_name = $hash{"MAIL_SERVER" .$key_ext};
- or download this
error_msg( "SR", "OE", $row[5], $row[3],"A STRING","No Email Address."
+ )
if ( $invalid_sr && !$errnow );
$errnow = 1
if ( $invalid_sr && !$errnow );
- or download this
$mail_server_name = $hash{"MAIL_SERVER"} if ( $node eq "sam" );
$mail_server_name = $hash{"MAIL_SERVER_TEST"} if ( $node eq "cad2" );
- or download this
if ( $invalid_sr && !$errnow ) {
error_msg( "SR", "OE", $row[5], $row[3],"A STRING","No Email Addres
+s." )
$errnow = 1;
}
- or download this
if ( CONDITION ) {
ACTION
...
} else {
Maybe this shouldnt have been a possibility? Throw an Error?
}
- or download this
sub foo {
my $whatzit=shift; #key information for calculating the $snoozle
my $baz =shift; #Modifier, allows for negative $snoozle if this
+is set
- or download this
sub foo {
my $whatzit=shift # the whatzit
- or download this
$sender = new Mail::Sender { smtp => $mail_server_name };
- or download this
$sender = Mail::Sender->new( { smtp => $mail_server_name } );