有没有将.bat文件转换为.pl文件的工具? [英] Is there any tool which converts .bat file into .pl file?

查看:193
本文介绍了有没有将.bat文件转换为.pl文件的工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个名为pl2bat的工具,它将.pl脚本转换为.bat文件。

就像我需要一个将批处理文件转换成perl脚本的工具一样

请帮助我

There is tool called pl2bat, which converts .pl script into .bat file.
in the same way i need a tool which convert batch file into perl script
please help me

推荐答案

您将无法找到Perl转换器的批处理文件,反之亦然。



pl2bat 不是转换器。它是一个创建批处理文件的工具,该文件正在执行perl并传递同一文件中包含的perl代码(请参阅此处的示例: http://www.informit.com/articles/article.aspx?p=29328&seqNum=5 [ ^ ])。



如果批处理文件不是太复杂,可以通过将批处理文件命令传递给Perl system [ ^ ]命令。
You won't be able to find a batch file to Perl converter or vice versa.

pl2bat is not a converter. It is a tool that creates a batch file that is executing perl and passes the perl code contained in the same file (see here for an example: http://www.informit.com/articles/article.aspx?p=29328&seqNum=5[^]).

If the batch file is not too complex you may do a simple manual conversion by passing the batch file commands to the Perl system[^] command.


这篇关于有没有将.bat文件转换为.pl文件的工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆