[24553] in Perl-Users-Digest
Perl-Users Digest, Issue: 6731 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Fri Jun 25 21:05:45 2004
Date: Fri, 25 Jun 2004 18:05:06 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Fri, 25 Jun 2004 Volume: 10 Number: 6731
Today's topics:
Re: PAR with active state: Compress::Zlib object versio <astewart1@cox.net>
Printing a hash question (scadav)
Re: Printing a hash question <noreply@gunnar.cc>
Re: Printing a hash question <postmaster@castleamber.com>
Want to lick Maggie Simpson's pussy? <athis@toontoon.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Fri, 25 Jun 2004 15:42:22 -0700
From: Alan Stewart <astewart1@cox.net>
Subject: Re: PAR with active state: Compress::Zlib object version 1.22 does not match bootstrap parameter 1.16
Message-Id: <04apd0p2vc4l0u4hh52c7ujg4ilv4tmofc@4ax.com>
On Fri, 25 Jun 2004 17:48:39 +0100, Graham Wood
<Graham.T.removethis.Wood@oracle.andthis.com> wrote:
>Can anyone advise me how to get pp to work with activestate perl
>Binary build 638 provided by ActiveState Corp. http://www.ActiveState.com
>ActiveState is a division of Sophos.
>Built Apr 13 2004 19:24:21
>
>I've just installed this build of Perl on win2k and then the PAR module
>as supplied by ActiveState and running pp gives me this error.
>
>Do I have to get a C compiler and the source for version 1.16 of the
>Compress::Zlib module or is there a less labour intensive way of getting
>executables built with lots of modules included without having to buy a
>license for something?
>
>I'm assuming I can't hack anything without rebuilding the xs parts of
>the compress::Zlib module.
>
>Suggestions welcome
>
>Thanks
>
>Graham
It's a mismatch between the version of Zlib with your ActiveState Perl
and the Zlib in the pre-built PAR package. Someone could build the PAR
package to match, but you don't have a compiler and I don't have Zlib
1.22 installed.
You could download the zip file copy of ActiveState build 635 and
extract just site\lib\Compress\ and site\lib\auto\Compress\ to
downgrade to version 1.16.
Or try the PAR mailing list to see if anyone has a pre-built to match.
Alan
------------------------------
Date: 25 Jun 2004 15:48:20 -0700
From: dkscaccia@yahoo.com (scadav)
Subject: Printing a hash question
Message-Id: <ef82e2b5.0406251448.3b8bd13@posting.google.com>
I am new to Perl and this problem is baffling me. I undestand how to
print out all the items in a hash and sort by the keys:
foreach $item (sort keys(%hash)) {
print "$item: $hash{$item} \n";
}
but how do you do the reverse of this?...print out all of the items
but sort on the values?
any help would be appreciated.
------------------------------
Date: Sat, 26 Jun 2004 00:52:12 +0200
From: Gunnar Hjalmarsson <noreply@gunnar.cc>
Subject: Re: Printing a hash question
Message-Id: <2k3opvF17goupU1@uni-berlin.de>
scadav wrote:
> I am new to Perl and this problem is baffling me. I undestand how
> to print out all the items in a hash and sort by the keys:
>
> foreach $item (sort keys(%hash)) {
> print "$item: $hash{$item} \n";
> }
>
> but how do you do the reverse of this?...print out all of the items
> but sort on the values?
That's a Frequently Asked Question:
perldoc -q "sort a hash"
You are supposed to check the Perl FAQ before posting questions here.
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
------------------------------
Date: Fri, 25 Jun 2004 17:55:35 -0500
From: John Bokma <postmaster@castleamber.com>
Subject: Re: Printing a hash question
Message-Id: <40dcad6a$0$873$58c7af7e@news.kabelfoon.nl>
scadav wrote:
> I am new to Perl and this problem is baffling me. I undestand how to
> print out all the items in a hash and sort by the keys:
>
> foreach $item (sort keys(%hash)) {
> print "$item: $hash{$item} \n";
> }
>
> but how do you do the reverse of this?...print out all of the items
> but sort on the values?
for my $key ( sort { $hash{$a} cmp $hash{$b} } keys %hash ) {
}
--
John MexIT: http://johnbokma.com/mexit/
personal page: http://johnbokma.com/
Experienced Perl programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html
------------------------------
Date: Fri, 25 Jun 2004 22:55:47 +0000 (UTC)
From: Pinched <athis@toontoon.com>
Subject: Want to lick Maggie Simpson's pussy?
Message-Id: <cbiahj$303c$652@news.nextra.cz>
And a wild bonus: ever dream of watching Maggie Simpson cum?
Click to HTTP://ToonToon.com/ximpsons/../ximpsons/
Breasts <ashe@toontoon.com> wrote in message
news:Z41mdQqj9KFSfIURdqA2AXL@toontoon.com...
>
> sank to the bottom of the empty
>
>
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V10 Issue 6731
***************************************