There's more than one way to do it


There's more than one way to do it is a Perl programming motto. The language was designed with this idea in mind, in that it “doesn't try to tell the programmer how to program.” As proponents of this motto argue, this philosophy makes it easy to write concise statements like
print if 1..3 or /match/
or the more traditional
if
or even the more verbose:

use English;
if

This motto has been very much discussed in the Perl community, and eventually extended to There’s more than one way to do it, but sometimes consistency is not a bad thing either.
In contrast, part of the Zen of Python is, "There should be one — and preferably only one — obvious way to do it."