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

Re: [PATCH v2 2/2] send-email: introduce sendemail.smtpsslcertpath

From: Ramkumar Ramachandra <hidden>
Date: 2016-06-15 22:58:00

Eric Sunshine wrote:
quoted
+                                       $smtp_ssl_cert_path |= "/etc/ssl/certs";
You're going to want to use logical ||= here. Bitwise |= on a string
does not do what you expect[1]:

  my $s = '/usr/local/etc/ssl/certs';
  $s |= '/etc/ssl/certs';
  print $s, "\n";

Outputs: /uws/oooowts/ssl/certs
Thanks; much appreciated.  My Perl is quite weak.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help