Loose-Info.com
Last Update 2008/05/18
TOP - Perl - 特殊変数 - %INC

環境変数が格納されています。

(例)
foreach $data (keys %ENV) { print "$data → $ENV{$data}\n"; }

実行結果
SSH_CLIENT → 192.168.***.*** 1488 22 HOME → /home/**** HOST → test.****.*** SSH_CONNECTION → 192.168.***.*** 1488 192.168.***.*** 22 REMOTEHOST → 192.168.***.*** BLOCKSIZE → K OSTYPE → FreeBSD EDITOR → vi MAIL → /var/mail/**** PWD → /www/****/**** VENDOR → intel USER → test GROUP → test LOGNAME → test SHLVL → 1 PATH → /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin FTP_PASSIVE_MODE → YES SHELL → /bin/csh MACHTYPE → i386 HOSTTYPE → FreeBSD TERM → vt100 PAGER → more SSH_TTY → /dev/ttyp0