You can find out what environment variables are set for your shell in different cases by making your shell:
#!/usr/bin/perl print "$_: $ENV{$_}\n" for keys %ENV;
Aaron B.
Available for small or large Perl jobs; see my home node.
In reply to Re^3: How do I test if my Perl script was run using a login vs a non-login shell
by aaron_baugher
in thread How do I test if my Perl script was run using a login vs a non-login shell
by paulski82
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |