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: [regex2012] separate elements common to both arrays with a comma (not trailing): Edit Log



FishMonger
Veteran / Moderator

Nov 17, 2015, 9:58 AM


Views: 1727
Re: [regex2012] separate elements common to both arrays with a comma (not trailing)

You should post sample lines from both files.

You should use the Data::Dumper module to dump out each var as it gets assigned to verify it holds what you expect.

Nearly every single line of that code has problems.

Please explain what you think these 2 lines are doing? I doubt that you have the correct understanding.

Code
my @strings =  "@fields[1]\n"; 
my @strings1 = "@fields[0]";



(This post was edited by FishMonger on Nov 17, 2015, 10:02 AM)


Edit Log:
Post edited by FishMonger (Veteran) on Nov 17, 2015, 10:02 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