玩转编程语言:Perl

摘要

Tips

  • /usr/bin/perl^M: bad interpreter
1
2
3
#### get rid of ^M with
dos2unix /usr/local/bin/sr_server
perl -pi -e 'tr[\r][]d' /usr/local/bin/sr_server

扩展阅读

参考文献

推荐文章