Urgent, Need Help - Redirecting O/P

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • karthikeyanck
    New Member
    • Oct 2007
    • 23

    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("nslooku p google.com >> temp1"); it works

    Any help appreciated.... .
  • karthikeyanck
    New Member
    • Oct 2007
    • 23

    #2
    chomp did the trick,

    Thanks !

    Comment

    • numberwhun
      Recognized Expert Moderator Specialist
      • May 2007
      • 3467

      #3
      Originally posted by karthikeyanck
      chomp did the trick,

      Thanks !
      Glad that you found the answer.

      Regards,

      Jeff

      Comment

      Working...