Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Perl style: Arguing against three-argument join()

by martin (Pilgrim)
on Jan 24, 2008 at 17:38 UTC ( #664096=note: print w/ replies, xml ) Need Help??


in reply to Re: Perl style: Arguing against three-argument join()
in thread Perl style: Arguing against three-argument join()

And I do not think of join as being a three-argument function, as your title suggests. I think of is as two-argument: an expression for the separator and a list.

toolic, you are right, I probably should have said "three-argument usage of join" or "pseudo-separator, two-element list usage of join".

On second thought, I might settle now for "abusing middle element of three-element list as join() separator" or something. If we take this much further we might be able to squeeze the whole discussion into a headline...


Comment on Re^2: Perl style: Arguing against three-argument join()

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2014-09-20 12:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (159 votes), past polls