http://qs1969.pair.com?node_id=556934


in reply to find the shell inside a perl script

I would follow the other post but the if would be 1 rather than 3 different ifs.
if ($shell_name eq 'bash'){ # do stuff here }elsif($shell_name eq 'ksh'){ # do stuff here }elsif($shell_name eq 'csh'){ # do stuff here }
Update: I now look smart as his post has been updated!
My sig Sucks!