Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

perlfunc:join

by gods
on Aug 24, 1999 at 22:42 UTC ( #233=perlfunc: print w/replies, xml ) Need Help??

join

See the current Perl documentation for join.

Here is our local, out-dated (pre-5.6) version:


join - join a list into a string using a separator



join EXPR,LIST



Joins the separate strings of LIST into a single string with fields separated by the value of EXPR, and returns the string. Example:

    $_ = join(':', $login,$passwd,$uid,$gid,$gcos,$home,$shell);

See split.


Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[james28909]: i figured out a neet trick
[Lady_Aleena]: james28909, what neat trick?
[james28909]: now if i have packed a script into a PDK exe, and misplaced the source, i can print it.
[james28909]: but you have to prepare for it first by adding this to the source
[james28909]: seek DATA, 0, 0; while (<DATA>) { print; }
[Lady_Aleena]: Sounds interesting. Have you written a meditation or cool use for it?
[Lady_Aleena]: It might be something PerlMonks at large would be interested in.

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2017-05-01 00:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (543 votes). Check out past polls.