redirecting STDERR

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yonit
    New Member
    • Aug 2008
    • 1

    redirecting STDERR

    Hi,
    I am new to perl and I wanted to know how to redirect the STDERR to a file.
    Actually I need to redirect it, and a few lines later redirect it back to the default (screen)
    thanks,
    Yonit
  • eWish
    Recognized Expert Contributor
    • Jul 2007
    • 973

    #2
    You will need to use the open function to achieve this.

    --Kevin

    Comment

    Working...