Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 having an uproarious good time at the Monastery: (9)
As of 2014-12-29 13:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (188 votes), past polls