* Sam Kington <sam@illuminated.co.uk> [2016-10-06 07:00]: > mandatory( > thing => $thing, > this =>! this_does_something(), > that =>! that_does_something(), > ); mandatory( thing => $thing, this => this_does_something() // undef, that => that_does_something() // undef, ); (The traditional way was with scalar(), but //undef is a bit nicer in that it’s not circumfix.) Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>Thread Previous | Thread Next