in reply to Re^2: How do I test if my Perl script was run using a login vs a non-login shell
in thread How do I test if my Perl script was run using a login vs a non-login shell

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.

  • Comment on Re^3: How do I test if my Perl script was run using a login vs a non-login shell
  • Download Code