Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Perl >> Snippet

while loop



#!/user/bin/perl
$counter = 0;
while ( $counter < 10)
{ print "Still counting .. $counter \n " ; $counter ' }