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


in reply to Re: split and uninitialized variables
in thread split and uninitialized variables

This solution is novel and works, but I don't recommend it.

. It's more important to have code that is clear and easy to read than to be as concise and compact as possible. The clearest solution is to simply use a second line to initialize the variables.