CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [BigRedEO] Parsing CSV file - Add Concatenated field/sort: Edit Log



FishMonger
Veteran / Moderator

Mar 24, 2016, 7:32 AM


Views: 38807
Re: [BigRedEO] Parsing CSV file - Add Concatenated field/sort

The join function requires 2 arguments, so if you don't want the underscore use an empty string.

Code
unshift @fields, join '', @fields[0..2];



(This post was edited by FishMonger on Mar 24, 2016, 7:32 AM)


Edit Log:
Post edited by FishMonger (Veteran) on Mar 24, 2016, 7:32 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives