in reply to Duplicating HTML files
...as well as about a thousand other ways. Of course, the simplest way to do something like this is to skip perl completely and use your OS's copy command, then open up the duplicate and edit away.perl -ne 'print' original.html >duplicate.html
|
|---|