importenv.pl

来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· PL 代码 · 共 15 行

PL
15
字号
;# This file, when interpreted, pulls the environment into normal variables.;# Usage:;#	require 'importenv.pl';;# or;#	#include <importenv.pl>local($tmp,$key) = '';foreach $key (keys(%ENV)) {    $tmp .= "\$$key = \$ENV{'$key'};" if $key =~ /^[A-Za-z]\w*$/;}eval $tmp;1;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?