Bryan R Harris wrote:

Is there a way to determine in perl whether the current script was run from
a login shell or not?

- B




ENV{PS1} ???

That's mentioned in my .bashrc script


# If running interactively, then:
if [ "$PS1" ]; then


so I assume that it's part of the %ENV and if so defined....

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to