in reply to Re^5: Automatically add all defined functions to your @EXPORT
in thread Automatically add all defined functions to your @EXPORT

I err on the side of caution (wrt '&&' vs. 'and ) and use
if ( $var1 == 1 and $var2 == 2 ) { doSomething(); }


of course, with if's, it all depends on the logic branching outside of that particular if statement. It's not a "set in stone" decision.