in reply to Re^3: self-feeding infinite loop
in thread self-feeding infinite loop
Cheers,use strict; use warnings; my @array = ('a'); foreach (@array) { push @array,'a'; print"@array\n"; sleep(1); # so we can absorb what's happening }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: self-feeding infinite loop
by Errto (Vicar) on Aug 18, 2007 at 18:03 UTC |