Help for this page

Select Code to Download


  1. or download this
    #use v5.10;
    #use feature "switch";
    ...
    
    # Prove STDERR is redirected with runtime error
    my $error = 10 / 0;