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

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
append filenames



May 6, 2001, 2:07 PM

Post #1 of 2 (752 views)
append filenames Can't Post

read a subdir for multiple files with ext. "ul_gen" and then read each file line by line and take the 1st 3 numbers of each line for 1st part of new filename, then append the actual filename prefix which is always a set of arbitrary numbers to those 3 #'s found in rec then change file ext. ul_gen to "upld". 1234.ul_gen becomes 930.1234.upld if its 1st line started with 930, until all files & linereads exhausted. Having trouble putting it all together.


May 6, 2001, 4:17 PM

Post #2 of 2 (749 views)
Re: append filenames [In reply to] Can't Post

maybe if you explain what your teacher wants a little better, we can help *smirk*

r j o s e p h
"Violence is a last resort of the incompetent" - Foundation


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

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