Ref_Data/other_select1.cdump_ref
raw| 1 | |
| 2 | # Make sure that filehandle version of select doesn't get parsed as loopy one |
| 3 | |
| 4 | # select ('^d to exit') { } |
| 5 | |
| 6 | $old_fh = select (STDERR); $|=1; select ($old_fh); |
| 7 | |
| 8 | # select ('^d to exit') { } |
| 9 | |
| 10 | print STDOUT "STDOUT\n"; |
| 11 | |
| 12 | # Found during testing that I can't actually print output to both channels |
| 13 | # and know the order in which the words will appear! Linux differs |
| 14 | # from Solaris! |
| 15 | |
| 16 | # print STDERR "STDERR\n"; |
| 17 |