home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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: die Perl in a Nutshell Next: Reference: dump
Reference: die Book Index Reference: dump

Library Navigation Links

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