Re: ubuntu jaunty seized up
- From: Carl Friis-Hansen <ubuntuuser@xxxxxxxxxxx>
- Date: Mon, 04 May 2009 22:01:25 +0200
Smoot Carl-Mitchell wrote:
#! /usr/bin/perl -w
# Array grows without bound (slowly)
my @x = ();
my $i = 0;
while (1) {
sleep 1;
$x[$i] = $i;
}
Nice explanation, but I think you need to increase the index:
$x[$i++] = $i;
or something.
--
+---------------------------------+-------------------+
| Carl Friis-Hansen | Fiskeryd Nybygget |
| http://computingconfidence.com/ | 341 91 Ljungby |
| Phone: +46 (0)372 15033 | Sweden |
+---------------------------------+-------------------+
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- References:
- ubuntu jaunty seized up
- From: prad
- Re: ubuntu jaunty seized up
- From: Ioannis Vranos
- Re: ubuntu jaunty seized up
- From: prad
- Re: ubuntu jaunty seized up
- From: Karl F. Larsen
- Re: ubuntu jaunty seized up
- From: Carl Friis-Hansen
- Re: ubuntu jaunty seized up
- From: Karl F. Larsen
- Re: ubuntu jaunty seized up
- From: prad
- Re: ubuntu jaunty seized up
- From: Smoot Carl-Mitchell
- ubuntu jaunty seized up
- Prev by Date: Re: ubuntu jaunty seized up
- Next by Date: Re: .Xdefaults not being read after i reboot.
- Previous by thread: Re: ubuntu jaunty seized up
- Next by thread: Re: ubuntu jaunty seized up
- Index(es):
Relevant Pages
|