Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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.


Comment on Re: Golf Do-s and Don't-s
Download Code
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 avoiding work at the Monastery: (19)
As of 2015-07-02 17:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls