Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: dieChapter 5
Function Reference
Next: Reference: dump
 

do

do {block}

Executes the sequence of commands in the block and returns the value of the last expression evaluated. When modified by a loop modifier, Perl executes the block once before testing the loop condition. (On other statements, the loop modifiers test the conditional first.)


Previous: Reference: diePerl in a NutshellNext: Reference: dump
Reference: dieBook IndexReference: dump

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.