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


in reply to Golf Do-s and Don't-s

A few questions on technique:
  1. Is there anything shorter than join'',?
  2. What are some good sorting techniques?

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Replies are listed 'Best First'.
Re^2: Golf Do-s and Don't-s
by Anonymous Monk on Mar 09, 2005 at 10:03 UTC
    Is there anything shorter than join'',?

    It depends. This:

    $"="";"@_"
    is one character more than
    join"",@_
    but if you have to do two joins,
    $"="";"@a";"@b"
    is shorter than
    join"","@a";join"","@b"