1 %ENV 是打印系统变量 哈希数列
#!/usr/bin/perl -w
use strict;
use Data::Dumper;
print Dumper(/@INC);
print Dumper(/%ENV);
exit 0;
2、打印个别的数据
#!/usr/bin/perl -w
use strict;
use Data::Dump 'dump';
print "PATH is $ENV{PATH}/n";
1 %ENV 是打印系统变量 哈希数列
#!/usr/bin/perl -w
use strict;
use Data::Dumper;
print Dumper(/@INC);
print Dumper(/%ENV);
exit 0;
2、打印个别的数据
#!/usr/bin/perl -w
use strict;
use Data::Dump 'dump';
print "PATH is $ENV{PATH}/n";