Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Perl

 
Logged in as: Guest
arrSession:exec spGetSession 2,7,61042
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> Perl
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Perl - 6/4/2008 8:05:02 AM   
  mcds99


Posts: 424
Score: 4
Joined: 2/28/2006
Status: offline
I need to take a CSV file read a line, grap the first field (before the first comma, put that field in to a variable, create a file using that variable
Then I use a regx to parse the commas out of the line and write the file.

I did this

      
It returns the rows from the file just fine.
Now I'm trying to read the row in to an array grab the first field and write the file.

      

Can someone point me in the right direction, I've been googleing and reading a book but my thick head just isn't gettint there...

Thanks
Sam.

_____________________________

Sam

Keep it Simple Make it Fun KiSMiF
 
 
Post #: 1
 
 RE: Perl - 6/6/2008 6:54:32 AM   
  mcds99


Posts: 424
Score: 4
Joined: 2/28/2006
Status: offline
So I figured it out ;-)

      

_____________________________

Sam

Keep it Simple Make it Fun KiSMiF

(in reply to mcds99)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> Perl Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts