Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Golf Do-s and Don't-s

by dragonchild (Archbishop)
on Apr 03, 2002 at 15:03 UTC ( #156322=note: print w/ replies, xml ) Need Help??


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"

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://156322]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2016-07-30 10:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (265 votes). Check out past polls.