Chinaunix

标题: 急求:perl中如何引用.profile文件? [打印本页]

作者: 5579805    时间: 2011-09-30 11:17
标题: 急求:perl中如何引用.profile文件?
如题~~~
作者: sosflyer    时间: 2011-09-30 11:22
回复 1# 5579805


    直接把export写在perl里行不行啊
作者: 5579805    时间: 2011-09-30 11:26
不能直接引用的吗?我.profile里面设置蛮多的
作者: sosflyer    时间: 2011-09-30 11:39
本帖最后由 sosflyer 于 2011-09-30 11:46 编辑
不能直接引用的吗?我.profile里面设置蛮多的
5579805 发表于 2011-09-30 11:26



    ..profile呢?不过为啥你要在perl里面重新引用profile呢?
作者: FangyuanCheng    时间: 2011-09-30 12:33
回复 3# 5579805

define the hash, %ENV
http://search.cpan.org/dist/Env-Sourced/lib/Env/Sourced.pm-orig




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