Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2016 13:49:26 +0100
From:      Matthias Apitz <>
Subject:   ports/p5-Mail-RFC822-Address does not work as expected/described
Message-ID:  <20160104124926.GA4417@c720-r285885-amd64>

Next in thread | Raw E-Mail | Index | Archive | Help


I installed from the ports the port p5-Mail-RFC822-Address to verify
mail addrs against RFC822; the example code provided by the author is:


  use Mail::RFC822::Address qw(valid validlist);

  if (valid("")) {
      print "That's a valid address\n";

  if (validlist(",")) {
      print "That's a valid list of addresses\n";

But I can only manage to get this working when doing the test as

  if (valid("") == true) {

Why is this? I'm by no means a Perl expert :-)



Matthias Apitz, ✉, 🌐  ☎ +49-176-38902045

Want to link to this message? Use this URL: <>