Chinaunix

标题: 请问:我把source xxx 放入perl脚本为什么不能成功运行 [打印本页]

作者: kahn010111    时间: 2013-09-25 09:26
标题: 请问:我把source xxx 放入perl脚本为什么不能成功运行
在terminal敲进去就可以
作者: kahn010111    时间: 2013-09-25 10:43
有人知道如何解决么
作者: laputa73    时间: 2013-09-25 13:21
exec, eval, source - shell  built-in  functions  to  execute  other commands

perl又不是shell,
作者: mcshell    时间: 2013-09-25 14:49
环境变量问题。
作者: kahn010111    时间: 2013-09-25 15:15
我在perl里能实现source么?
作者: laputa73    时间: 2013-09-25 15:19
source xxx;nnn.pl

perl里面可以用%ENV
不能直接用source




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2