From: Michael Witten Date: Mon, 20 Apr 2009 15:53:11 GMT Subject: Re: [PATCH RFC3.5.1 04/12] send-email: Verification for --smtp-server and --smpt-server-port Message-ID: In-Reply-To: <1240150785-3999-1-git-send-email-mfwitten@gmail.com> On Sun, Apr 19, 2009 at 09:19, Michael Witten wrote: > +               ($smtp_server, my $port) = parse_server_URI $smtp_server > +                       or die "--smtp-server: Not a valid server URI: '$smtp_server'\n"; Whoops! I used to have: my ($host, $port) = ... but I tried to be clever and replaced it with the above. Unfortunately, that means that an incorrect server 'URI' sets $smtp_server to undef, which perl complains about when it interpolates the die string.