http://www.perlmonks.org?node_id=565248


in reply to Re^3: Secret Perl Operators: the boolean list squash operator, x!!
in thread Secret Perl Operators: the boolean list squash operator, x!!

Read closer. I said “the last paragraph.” Here is said paragraph, in order to avoid further confusion.

Not to mention that all of this misses my point because it’s specific to join, and I’ve needed to pass a variable list to some function or method often enough where really needed the sub-list to be empty depending on the condition – winging it by combining && and the false evaluates to the empty string factoid wouldn’t have done me any good.

Try to simplify a different example to get closer to my point.

Makeshifts last the longest.

  • Comment on Re^4: Secret Perl Operators: the boolean list squash operator, x!!