cookwhy
August 13, 2009
今天碰巧用到,觉得挺有用的:
use Cwd; print getcwd;
print $str = ‘foo bar’;
当然,换成文件句柄也是一样的。