http://qs321.pair.com?node_id=100665


in reply to Spoken Perl: and || && or what?

My thoughts on it would be to use such code in terms of IF .. THEN .. with variance for further understanding.. As an example, using your examples, the m// && print; bascially breaks down into "if blah matches then print", if it were used in an if like if (m// && print) { do whatever; } it would turn into "if blah matches and print succeeds, then do whatever".
In your second example, it turns into "if production is false then if debugging is true, print or else dont print" or if it was used as an if like  if ($production || $debugging && print) { do whatever; } then it turns into "if production is true or debugging is true and print succeeds, then do whatever"... (I'm under the assumption here that precedence makes that statement ($production || ($debugging && print)) )
basically, they are still if then statements..
-Syn0