in reply to Re: Wanting Validation for Smacking my Sysadmin (500 error problem)
in thread Wanting Validation for Smacking my Sysadmin (500 error problem)
What it does, working inside out, is:
set currently selected file descriptor to unbuffered I/O$|++;
make STDOUT currently selected file descriptor. This returns the previously selected FD.select(STDOUT);
Select the first value in the list (select(STDOUT),$|++), which is the return value of select(STDOUT), which is the previously selected file descriptor.select ( ( select(STDOUT),$++)[0]);
The snippet basically sets STDOUT to unbuffered I/O whilst preserving the previously selected filehandle as selected. Have a look in perlfaq for a better explanation.
CU
Robartes-
|
|---|