Do you know where your variables are? | |
PerlMonks |
Re: Duplicating HTML filesby dimmesdale (Friar) |
on Jul 23, 2002 at 17:29 UTC ( [id://184507]=note: print w/replies, xml ) | Need Help?? |
What do you mean by dubplicate and change?
Well, here's a generic response, though the more info as to what you're doing the better replies you can get (and the monks here can be really helpful). You could open the file, and (if its not to big) slurp it into an array, then to some changes based on your needs then save the array to a file (possibly use tie?). You could use File::Copy to copy the file, open in (with perl/by hand?) to do some editing.
In Section
Seekers of Perl Wisdom
|
|