File: other_select1.cdump_ref

package info (click to toggle)
libshell-posix-select-perl 0.09-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 800 kB
  • sloc: perl: 2,727; makefile: 7
file content (17 lines) | stat: -rwxr-xr-x 405 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

# Make sure that filehandle version of select doesn't get parsed as loopy one

# select ('^d to exit') { }

$old_fh = select (STDERR); $|=1; select ($old_fh);

# select ('^d to exit') { }

print STDOUT "STDOUT\n";

# Found during testing that I can't actually print output to both channels
# and know the order in which the words will appear!  Linux differs
# from Solaris! 

# print STDERR "STDERR\n";