print <<"EOT"; The environment variable foo is: @{[ $ENV{'foo'} ? $ENV{'foo'} : 'not defined' ]} That is all. EOT