BlueLines has asked for the wisdom of the Perl Monks concerning the following question:
What happens when this is run?#!/usr/bin/perl -w my $foo = { c => {} }; my $records = [ $foo ]; $records->{c} = 1;
Why is this?[jon@opiate jon]$ ./foo.pl Out of memory! [jon@opiate jon]$ perl --version This is perl, v5.6.0 built for i386-linux
Edit kudra 2002-02-23 Added to title
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Odd
by wog (Curate) on Feb 23, 2002 at 01:51 UTC | |
|
Re: Odd
by Zaxo (Archbishop) on Feb 23, 2002 at 01:47 UTC | |
by BlueLines (Hermit) on Feb 23, 2002 at 02:05 UTC |