summaryrefslogtreecommitdiff
path: root/pod/perldsc.pod
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2012-01-31 23:38:15 -0300
committerFather Chrysostomos <sprout@cpan.org>2012-06-27 08:35:55 -0700
commitcb1e035e419ace624c66b44e9d7af0fd773c149e (patch)
tree50391f828037849a1af3ec374e86b0073ac5165c /pod/perldsc.pod
parent0568eccda3e550f0e4e821d702e2bd967f33bc7a (diff)
downloadperl-cb1e035e419ace624c66b44e9d7af0fd773c149e.tar.gz
perldsc: #109408
Diffstat (limited to 'pod/perldsc.pod')
-rw-r--r--pod/perldsc.pod25
1 files changed, 4 insertions, 21 deletions
diff --git a/pod/perldsc.pod b/pod/perldsc.pod
index b30948c32a..c5f53d8c16 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<awk> 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<AoA, debugging> X<HoA, debugging> X<AoH, debugging> X<HoH, debugging>
X<array of arrays, debugging> X<hash of arrays, debugging>
X<array of hashes, debugging> X<hash of hashes, debugging>
-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<x> 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<x> 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<perlref>, L<perllol>, L<perldata>, L<perlobj>
=head1 AUTHOR
Tom Christiansen <F<tchrist@perl.com>>
-
-Last update:
-Wed Oct 23 04:57:50 MET DST 1996