Help for this page

Select Code to Download


  1. or download this
    # assuming text is in $_
    my @lines = split /\n/;
    my $text = join '||', @lines;
    print "||$lines||\n";
    
  2. or download this
    print '||'. join('||', split( /\n/ )) .'||' ."\n";