in reply to A better way to print

Do you mean like so?

#!/usr/local/bin/perl use warnings; use strict; my $one = 1; until ($one == 100000) { print $one++, "\n"; }

 

Replies are listed 'Best First'.
Re: Re: A better way to print
by ellem (Hermit) on Mar 18, 2002 at 15:17 UTC
    Oh well if you're going to use a comma....
    <hangs_head_in_shame>ellem
    note me not closing the shame tag...
    --
    ellem@optonline.net
    There's more than one way to do it, but only some of them actually work.