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

Re: [PATCH RFC3.5.1 04/12] send-email: Verification for --smtp-server and --smpt-server-port

From: Michael Witten <hidden>
Date: 2016-06-15 22:46:37

On Sun, Apr 19, 2009 at 09:19, Michael Witten [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help