Tutorials Point


  Perl Home

  PERL Functions

© 2011 TutorialsPoint.COM


  Home     References     About TP     Advertising  

PERL wait Function



Syntax

wait


Definition and Usage

Waits for a child process to terminate, returning the process ID of the deceased process. The exit status of the process is contained in $?.

Return Value

  • -1 if there are no child processes

  • Process ID of deceased process



Printer Friendly



  

Advertisement

Online Image Processing

Indian Baby Names