please explain the command

Hi all ,

please explain the following command :

perl -e 'select(undef,undef,undef,.15)'

Thanks and Regards
Navatha

The unix sleep command

sleep <seconds> 

sleeps for whole seconds. The code you gave sleeps for 150 millseconds. It actually takes longer than 150 milliseconds because the shell has to create a process and load perl into it, then "sleep" for 150 ms.

select in this context sets the timeout for stdout
select - perldoc.perl.org