By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,848 Members | 1,416 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,848 IT Pros & Developers. It's quick & easy.

how to use .csh scripts files in perl file

P: 2
Hi
I had written a perl file.From this perl file i want to call .csh scripts.
We have to set any environment variables in perl file for this purpose.
Could you give me suggestions what are all the changes i have to do in perl file.
Pls send it to my mail i.d : EMAIL REMOVED

Thanx with regards
Subbhareddy-INDIA
Jan 13 '08 #1
Share this Question
Share on Google+
2 Replies


numberwhun
Expert Mod 2.5K+
P: 3,503
Hi
I had written a perl file.From this perl file i want to call .csh scripts.
We have to set any environment variables in perl file for this purpose.
Could you give me suggestions what are all the changes i have to do in perl file.
Pls send it to my mail i.d : EMAIL REMOVED

Thanx with regards
Subbhareddy-INDIA
First, you really need to read this sites Posting Guidelines. I say this because I have removed your email address. It is against this sites policy to post personal email addresses or URLs in the regular forums. Any responses you get will be posted here, not emailed to you, that way, everyone can benefit from them.

As for your question, to execute something in the system, simple use the system() function. No environment variable setting needed for that.

Regards,

Jeff
Jan 13 '08 #2

P: 33
you can do it in one of the following ways.

1st Way:
As Jeff told use system function call.

otherwise.
2nd way:
keep the the thing that you want to execute in backticks.

bothways will work fine.
Jan 14 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.