davyzhu
Advanced Member level 1
Hi all,
I am new to Perl (I used to be a C/C++ user). And I want to write a file convertor in Perl to learn it. And I use ActivePerl.
// Input.txt context
s 1 2
a 4 5
a 9 8
// Output.txt context I want
Sub (wire1, wire2);
Add (wire4, wire5);
Add (wire9, wire8);
BTW, how to debug perl script in ActivePerl? can I set breakpoint in it?
Any suggestions will be appreciated!
Best regards,
Davy
I am new to Perl (I used to be a C/C++ user). And I want to write a file convertor in Perl to learn it. And I use ActivePerl.
// Input.txt context
s 1 2
a 4 5
a 9 8
// Output.txt context I want
Sub (wire1, wire2);
Add (wire4, wire5);
Add (wire9, wire8);
BTW, how to debug perl script in ActivePerl? can I set breakpoint in it?
Any suggestions will be appreciated!
Best regards,
Davy