468,321 Members | 1,676 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,321 developers. It's quick & easy.

Urgent, Need Help - Redirecting O/P

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
2 1027
chomp did the trick,

Thanks !
Jun 26 '08 #2
numberwhun
3,503 Expert Mod 2GB
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.

Similar topics

2 posts views Thread by Ather Ali Shaikh | last post: by
4 posts views Thread by DotNetJunkies User | last post: by
9 posts views Thread by Paul | last post: by
8 posts views Thread by ginnisharma1 | last post: by
8 posts views Thread by Morpheus | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.