#! /usr/local/perl $myEnvVar; $myEnvVar = $ENV{"HOME"}; if($myEnvVar) { print "Your home directory is: ".$myEnvVar."\n"; } $myEnvVar = $ENV{"USER"}; if($myEnvVar) { print "Your user name is: ".$myEnvVar."\n"; } $myEnvVar = $ENV{"GLOBBY"}; if($myEnvVar) { print "The value of GLOBBY is: ".$myEnvVar."\n"; } else { print "No value for GLOBBY.\n"; } 1;
Make your own free website on Tripod.com