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: Need a Custom or Prewritten Perl Program?: I need a program that...:
I need a program that...


New User

Feb 18, 2010, 1:20 PM

Post #1 of 2 (4310 views)
I need a program that... Can't Post

I am trying to create a program that creates three files in a directory. File one being my first name, file two my last name, and file three my first and last name Also trying create a second program that can search for a string within all files in the directory. I am brand new to Perl and I don't know where to start. Any help would be appreciated.

New User

Jul 24, 2010, 1:22 PM

Post #2 of 2 (3547 views)
Re: [ByMinotti] I need a program that... [In reply to] Can't Post

I'm guessing you want to create a text file?

open(FH,">/dir/test.txt") or die "Cannot create file"; # creates/saves txt file

Just input the directory you want them to go into


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

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