Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
p5pRT opened this issue Aug 9, 1999 · 2 comments
Closed

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

p5pRT opened this issue Aug 9, 1999 · 2 comments

Comments

@p5pRT
Copy link

p5pRT commented Aug 9, 1999

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

Searchable as RT1198$

@p5pRT
Copy link
Author

p5pRT commented Aug 9, 1999

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, <IN> 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, <IN> 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
Copy link
Author

p5pRT commented Aug 7, 2002

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant