ActiveState homepage
docs.activestate.com
ActivePerl 5.32 Documentation
  • Get ActivePerl
      Release notes Windows installation Linux Installaton macOS Installation License
  • Get Started
      Windows Perl 5.32 docs
  • Contact Us

join - perldoc.perl.org
Home  > Language reference > Functions > join
Perl 5 version 32.0 documentation

join

Perl functions A-Z | Perl functions by category | The 'perlfunc' manpage
  • join EXPR,LIST

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

    1. my $rec = join(':', $login,$passwd,$uid,$gid,$gcos,$home,$shell);

    Beware that unlike split, join doesn't take a pattern as its first argument. Compare split.

Documentation built with Hugo using the Material theme.
ActiveState Platform   Downloads   Community   Code Recipes  
© 2020 ActiveState Software Inc. All rights reserved. Trademarks. Privacy Policy.