in reply to Perl style: Arguing against three-argument join()

Why not just:

"$config{prefix}$item$config{suffix}";

Perl is environmentally friendly - it saves trees

Replies are listed 'Best First'.
Re^2: Perl style: Arguing against three-argument join()
by dragonchild (Archbishop) on Jan 25, 2008 at 00:02 UTC
    Because to properly handle all cases, that needs to be "$config{prefix}${item}$config{suffix}" and that just looks horrible.

    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
      Huh?