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

Urgent, Need Help - Redirecting O/P

P: 23
foreach(@sip){
system ("nslookup $_ >> temp1");
}


The above pgm doesn't redirect the output to the temp1 file...

but when it is,

system("nslookup google.com >> temp1"); it works

Any help appreciated.....
Jun 26 '08 #1
Share this Question
Share on Google+
2 Replies


P: 23
chomp did the trick,

Thanks !
Jun 26 '08 #2

numberwhun
Expert Mod 2.5K+
P: 3,503
chomp did the trick,

Thanks !
Glad that you found the answer.

Regards,

Jeff
Jun 26 '08 #3

Post your reply

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