Thread (4 messages) flat view 4 messages, 4 authors, 2016-06-15

Re: t9001 fails because Net::SMTP is missing

From: Eric Wong <hidden>
Date: 2016-06-15 22:42:28

Junio C Hamano [off-list ref] wrote:
Junio C Hamano [off-list ref] writes:
quoted
Johannes Schindelin [off-list ref] writes:
quoted
is it unexpected that there are setups which come without Net::SMTP?

-- snip --
* expecting success: git format-patch -n HEAD^1
     git send-email -from="Example [off-list ref]" 
--to=nobody@example.com --smtp-server="$(pwd)/fake.sendmail" ./0001*txt
0001-Second.txt
Can't locate Net/SMTP.pm in @INC (@INC contains: 
Hmm.  Something like this?
Nah, nevermind.  I forgot my Perl that use has the magic BEGIN{}
block around it X-<.
s/use/require/ and you should be fine.  We don't need any thing imported
from Net::SMTP, either.

Odd that Net::SMTP isn't installed on Johannes' machine, though, as it's
part of the standard Perl 5.8 (maybe even before) installation.

-- 
Eric Wong
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help