Converting a Windows Perl script to a Linux Perl script.
What issues do I need to consider when converting my Windows Perl scripts to Linux Perl scripts. I already know about line breaks and obviously the first line #!/usr/bin/perl. Are there any other things that I need to change before my scripts should work in Linux?
Also, is there a program that will automate this whole process of conversion? Thank You. |
Any path name -- \ to /
Any disk name -- eg,. c: Device names in general -- COMx to /dev/whatever I would check the ASPN open forums - http://www.activeperl.com/Products/ASPN_Open/ |
Thank You very much.
I used dos2unix to sort the line break problems. I may try writing a script to convert them in the future. |
All times are GMT -5. The time now is 08:43 PM. |