From: Eric Wong Date: Wed, 31 May 2006 06:05:30 GMT Subject: Re: t9001 fails because Net::SMTP is missing Message-ID: <20060531060530.GA9333@hand.yhbt.net> In-Reply-To: <7v4pz7yqpd.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > Junio C Hamano writes: > > > Johannes Schindelin writes: > > > >> 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 " > >> --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