I am not sure exactly what you need help with in this question.

The appending can be handled by something like:


$line = qq[Open\n"].$line.qq["\narbitary config setting 1\n\narbitrary
config setting 2\n\n];

Where $line already contains the line from the file.

Check this out for help with the 'open' functino:
http://www.perldoc.com/perl5.6/pod/perlopentut.html


>> C:\Program Files\AutoCAD LT 2000\SAMPLE\Building Section and Details.dwg
>>And prepend each line with:
>>OPEN<CR>
>>"
>>Where <CR> stands for carriage return
>>I would also like to append each line with:
>>"<CR>
>>arbitary config setting 1<CR>
>><CR>
>>arbitary config setting 2<CR>
>><CR>
>><CR>









-----------------------------------------
Craig Moynes
Internship Student
netCC Development
IBM Global Services, Canada
Tel: (905) 316-3486
[EMAIL PROTECTED]


Reply via email to