I switched that use to a require following someone else's advice (forget whose)
w/out thinking about what I was doing.  Probably can instead just move that use
to the top of the module, outside the function where it presumably won't be
executed over and over again.

As for what the wtr thing is, I have no idea.  I just d/l'd DCC though so I'll
see what's up soon hopefully.

C

Sean Rima wrote:

SR> -----BEGIN PGP SIGNED MESSAGE-----
SR> Hash: SHA1
SR>
SR> On Tue, 30 Apr 2002, Sean Rima spake:
SR>
SR> >> SR> Use of uninitialized value at
SR> >> SR> /usr/lib/perl5/site_perl/5.005/Mail/SpamAssassin/Dns.pm line
SR> >> SR> 270. DCC check skipped: Undefined subroutine
SR> >> SR> &Mail::SpamAssassin::PerMsgStatus::open2 called at
SR> >> SR> /usr/lib/perl5/site_perl/5.005/Mail/SpamAssassin/Dns.pm line 270.
SR> >>
SR> >> Weird again.  Given that we've just required IPC::Open2 a few lines
SR> >> above, I don't see how it can now be failing to find open2() -- I
SR> >> suppose it might need to be IPC::Open2::open2() or something.  Again,
SR> >> I'll see what I can do after installing DCC.
SR> >
SR> > I changed line 270 to:
SR> > $pid = IPC::Open2::open2(....) and the result was:
SR> > Use of uninitialized value at
SR> > /usr/lib/perl5/site_perl/5.005/Mail/SpamAssassin/Dns.pm line 270.
SR> > DCC check skipped:  open2: wtr should not be null at
SR> > /usr/lib/perl5/site_perl/5.005/Mail/SpamAssassin/Dns.pm line 270
SR> >
SR>
SR> Okay I did:
SR>     use IPC::Open2;
SR>  instead of require IPC::Open2; and changed line 270 back to what you
SR>     had it, that gets rid of the Use of uninitialized value line but not
SR>     the wtr error
SR>
SR> See Ya, Sean
SR>
SR> - --
SR>   Sean Rima                                http://www.tcob1.net
SR>   Linux User:      231986          Jabber:   [EMAIL PROTECTED]
SR>   THE VIEWS EXPRESSED HERE ARE NOT NECESSARILY THOSE OF MY WIFE.
SR> -----BEGIN PGP SIGNATURE-----
SR> Version: GnuPG v1.0.6 (GNU/Linux)
SR> Comment: Use GPG for Secure Mail
SR>
SR> iEYEARECAAYFAjzN42sACgkQeR/L2ZZp3E9fNACfbwn9jAeupndJPSnl5X57M97r
SR> WlsAnjeuoe+R4co/vBOPRqJkUeuzfDk+
SR> =e+8g
SR> -----END PGP SIGNATURE-----
SR>
SR> _______________________________________________
SR> Spamassassin-talk mailing list
SR> [EMAIL PROTECTED]
SR> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
SR>
SR>
SR>


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to