Cool/useful short examples of Perl?

David Cantrell david at cantrell.org.uk
Tue May 31 15:02:16 BST 2011


On Mon, May 30, 2011 at 04:27:30PM +0100, Denny wrote:
> On Mon, 2011-05-30 at 15:36 +0100, David Precious wrote:
> > if (! Email::Valid->address($email_address) ) {
> Something wrong with 'unless'?

Yes.  Most of the time you'll either have an 'else' or want to add it
later, and unless ... else is Just Wrong.

-- 
David Cantrell | Reality Engineer, Ministry of Information

    The Law of Daves: in any gathering of technical people, the
    number of Daves will be greater than the number of women.


More information about the london.pm mailing list