Closed p5pRT closed 21 years ago
Here is what I was trying to send with that interface:
Critical bug- build 518
Summary: Operator or semicolon missing before %NetConfig at .../lib/Net/Config.pm 70
Description: installed libnet with ppm config.pm looks ok (See "Work Around") Note error messages from debugger (See "Other Applications")
Also Note: DB\<1> p @INC /Perl/site/lib/Perl/libC:/Perl/libC:/Perl/site/lib.
ls -ltr ../site/lib/Net total 504 ... -r-xr-xr-a 1 Administrators EFI-CORP\eng 12192 Jul 22 1998 SMTP.pm* ... -rwxrwxrwa 1 Administrators EFI-CORP\eng 1910 Aug 9 14:34 Config.pm*
ls -ltr ../site/lib/Mail/Mailer total 7 -r-xr-xr-a 1 Administrators EFI-CORP\eng 408 Jun 16 1998 sendmail.pm*
-r-xr-xr-a 1 Administrators EFI-CORP\eng 248 Jun 16 1998 test.pm* -r-xr-xr-a 1 Administrators EFI-CORP\eng 328 Jun 16 1998 rfc822.pm* -r-xr-xr-a 1 Administrators EFI-CORP\eng 485 Jun 29 1998 mail.pm* -r-xr-xr-a 1 Administrators EFI-CORP\eng 1197 Jul 3 1998 smtp.pm*
email: marcbe@efi.com
name: Marc Bernstien
Other Applications:
error messages from debugger (See description):
Operator or semicolon missing before %NetConfig at
/Perl/site/lib/Net/Config.pm
line 70\, \
Code:
require Mail::Send; #$Mail::Mailer::MailerBinary = "smtp";
$msg = new Mail::Send Subject=>'example subject'\, To=>'mb@crl.com'\, CC=>'marcbe' ;
$fh = $msg->open; push(@lines\, "#test line 1"); push(@lines\, "test line 2");
$lines = join("\n"\, @lines); print $fh ("$lines\n");
Workaround:
NOT A WORKAROUND - more info (See description)
NO WORKAROUND - please help!
config.pm excerpt:
# Below this line is auto-generated\, *ANY* changes will be lost DATA%NetConfig = ( test_hosts => '0'\, nntp_hosts => ['news.efi.com']\, snpp_hosts => ['exchange-a3.efi.com']\, pop3_hosts => ['exchange-a3.efi.com']\, ftp_ext_passive => '0'\, smtp_hosts => ['exchange-a3.efi.com']\, inet_domain => 'efi.com'\, ph_hosts => ['exchange-a3.efi.com']\, test_exist => '1'\, daytime_hosts => ['exchange-a3.efi.com']\, ftp_int_passive => '0'\, ftp_firewall => undef\, time_hosts => ['exchange-a3.efi.com']\, ); 1;
OS Platorm: WinNT Workstation 4.0 x86 + SP4
Please notify of any possible solution.
Thanks\,
Marc Bernstein marcbe@efi.com
@gbarr - Status changed from 'open' to 'resolved'
Migrated from rt.perl.org#1198 (status was 'resolved')
Searchable as RT1198$