#!/usr/local/bin/perl # This is an example of using the do-until loop in perl $var=0; do{ print "number $var\n"; $var++; } until ($var > 10);