Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.85k stars 524 forks source link

bug in build 518 of ActivePerl (or one of its components) #364

Closed p5pRT closed 21 years ago

p5pRT commented 24 years ago

Migrated from rt.perl.org#1198 (status was 'resolved')

Searchable as RT1198$

p5pRT commented 24 years ago

From Marc.Bernstein@efi.com

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\, \ chunk 1.   require Net/Config.pm called at /Perl/site/lib/Net/SMTP.pm line 17   Net​::SMTP​::BEGIN() called at /Perl/site/lib/Net/Config.pm line 70   eval {...} called at /Perl/site/lib/Net/Config.pm line 70   require Net/SMTP.pm called at /Perl/site/lib/Mail/Mailer/smtp.pm line 3   Mail​::Mailer​::smtp​::BEGIN() called at /Perl/site/lib/Net/Config.pm line 70   eval {...} called at /Perl/site/lib/Net/Config.pm line 70   require Mail/Mailer/smtp.pm called at (eval 3) line 3   eval 'require Mail​::Mailer​::smtp ;' called at /Perl/site/lib/Mail/Mailer.pm line 244   Mail​::Mailer​::new('Mail​::Mailer') called at /Perl/site/lib/Mail/Send.pm line 102   Mail​::Send​::open('Mail​::Send=HASH(0x9b6ff8)') called at //skopje/home/ma rcbe/bin/sendtest line 15 Ambiguous use of % resolved as operator % at /Perl/site/lib/Net/Config.pm line 7 0\, \ chunk 1.



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

p5pRT commented 21 years ago

@gbarr - Status changed from 'open' to 'resolved'