[MacPerl] re: at a loss with hashes --> Sorting Hash Data (2nd)

2003-01-21 Thread Louis Pouzin
Ok. Your advice is excellent. Your example is thorough. That way I can manage. Thanks a lot - - On Mon, 20 Jan 2003 14:25:53 +0100, Detlef Lindenthal wrote: >### According to my present opinion I can only sort lists >### but not a wide branched, feathered, hairy hashes landscape; >### so I hav

[MacPerl] re: new to perl, even newer to macperl, need Find help

2003-01-21 Thread Louis Pouzin
On Wed, 15 Jan 2003 12:13:05 -0500, Nestor, John wrote: >If you have something that works for you, why not incorporate it? Hi, There is a package (Perl-Pack 2.1) that may be downloaded from the Nisus site. http://www.nisus.com/Products/NisusWriter/Support/Macros/Files/PerlPack21.sit.hqx. I cou

Re: [MacPerl] at a loss with hashes

2003-01-21 Thread Richard Cook
#!/usr/bin/perl -w BEGIN { $^W = 1 } use strict; my %lis; #age sex $lis{cat}{Zoe}=["9","female"]; $lis{dog}{Max}=["8","male"]; $lis{pig}{Joe}=["6","barrow"]; $lis{cat}{Sam}=["1","female"]; $lis{dog}{Bob}=["2","male"]; $lis{cat}{Kat}=["5","female"]; $lis{pig}{Sly}=["7","barrow"]; $lis{cat}{To