Get Paid to Participate - up to $1 per post!     Twitter     Facebook
Hosting Discussion
 

Hosting Discussion > Web Hosting Forums > Website Development & Design > [PERL] - Simple perl question...
forgot password?



FORUM SUPPORTERS:

Reply


Old
  Post #1 (permalink)   04-05-2002, 12:54 PM
hypernatic.net
 
Posts: n/a

Status:
Okay,

I have a script who changes lines in a specific file.
For instance, it finds the line "Hello World!" it changes it to "Hello Planet!"

This is only done when I specify the $file... So it's not a "change all files in a directory" kind of thing...

HOW do I make it that way? So that it does an "ls -a" and starts with file1, then file2, etc etc...

HOW?
 
 
 
Reply

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: