From cb1e035e419ace624c66b44e9d7af0fd773c149e Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Tue, 31 Jan 2012 23:38:15 -0300 Subject: [PATCH] perldsc: #109408 --- pod/perldsc.pod | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/pod/perldsc.pod b/pod/perldsc.pod index b30948c..c5f53d8 100644 --- a/pod/perldsc.pod +++ b/pod/perldsc.pod @@ -5,19 +5,8 @@ perldsc - Perl Data Structures Cookbook =head1 DESCRIPTION -The single feature most sorely lacking in the Perl programming language -prior to its 5.0 release was complex data structures. Even without direct -language support, some valiant programmers did manage to emulate them, but -it was hard work and not for the faint of heart. You could occasionally -get away with the C<$m{$AoA,$b}> notation borrowed from B in which the -keys are actually more like a single concatenated string C<"$AoA$b">, but -traversal and sorting were difficult. More desperate programmers even -hacked Perl's internal symbol table directly, a strategy that proved hard -to develop and maintain--to put it mildly. - -The 5.0 release of Perl let us have complex data structures. You -may now write something like this and all of a sudden, you'd have an array -with three dimensions! +Perl lets us have complex data structures. You can write something like +this and all of a sudden, you'd have an array with three dimensions! for $x (1 .. 10) { for $y (1 .. 10) { @@ -309,11 +298,8 @@ X X X X X X X X -Before version 5.002, the standard Perl debugger didn't do a very nice job of -printing out complex data structures. With 5.002 or above, the -debugger includes several new features, including command line editing as -well as the C command to dump out complex data structures. For -example, given the assignment to $AoA above, here's the debugger output: +You can use the debugger's C command to dump out complex data structures. +For example, given the assignment to $AoA above, here's the debugger output: DB<1> x $AoA $AoA = ARRAY(0x13b5a0) @@ -842,6 +828,3 @@ L, L, L, L =head1 AUTHOR Tom Christiansen > - -Last update: -Wed Oct 23 04:57:50 MET DST 1996 -- 1.8.3.1