Re: c shell commands in perl script

2002-10-30 Thread Jon Disnard
uh The obvious answer is to drop into a c shell and try the commands. In other words, type "csh" in your bash shell, and learn the c shell. Some things are different in csh, like setenv, builtin's, and a few other esoteric things. Elanchezhian Sivanandam wrote: hi, i have to give a

Re: c shell commands in perl script

2002-10-30 Thread Tanton Gibbs
more perl. Tanton - Original Message - From: "Peter Scott" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 30, 2002 11:23 AM Subject: Re: c shell commands in perl script > > In article <000f01c2802a$a988ece0$80b59c42@brooklyn>, >

Re: c shell commands in perl script

2002-10-30 Thread Peter Scott
In article <000f01c2802a$a988ece0$80b59c42@brooklyn>, [EMAIL PROTECTED] (Tanton Gibbs) writes: >More than likely, you are misusing system. > >If you are saying system( "csh" ); system( "ls -l" ) ... >Then you are not understanding how system works. Everything system is >executed it spawns >a s

Re: c shell commands in perl script

2002-10-30 Thread Tanton Gibbs
More than likely, you are misusing system. If you are saying system( "csh" ); system( "ls -l" ); ... Then you are not understanding how system works. Everything system is executed it spawns a subshell which is destroyed on termination of the system call. Therefore, your csh does not last past