Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by dragonchild (Archbishop)
on Apr 03, 2002 at 15:03 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://156322]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-03-29 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found