[25869] in Perl-Users-Digest
Perl-Users Digest, Issue: 8101 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun May 22 03:05:21 2005
Date: Sun, 22 May 2005 00:05:04 -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 Sun, 22 May 2005 Volume: 10 Number: 8101
Today's topics:
Hash String to String/Int <nospam@alexite.com>
Re: Hash String to String/Int (Jay Tilton)
Re: http get param <pilkowsk@informatik.uni-marburg.de>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sun, 22 May 2005 00:25:45 +0100
From: Alex Banks <nospam@alexite.com>
Subject: Hash String to String/Int
Message-Id: <8Lqdnb8j3-DoXhLfRVnyrg@pipex.net>
Can someone point me to a good cpan module employing a one way hashing
algorithm?
e.g. http://dev.mysql.com/doc/mysql/en/innodb-physical-structure.html
maps to 278HGKJZLKLK23 every time.
I need to be able to map a potentially long string (ie a URL) to a
shorter string (or integer) so I can effectively index a table.
(i'm not worried about the occasional duplicate, i understand it's not
possible to effectively condense every string acturately to a shorter
unique string)
Thanks,
Alex
--
Alex Banks
----------------------
Alexite Limited
http://www.alexite.com
------------------------------
Date: Sun, 22 May 2005 00:46:11 GMT
From: tiltonj@erols.com (Jay Tilton)
Subject: Re: Hash String to String/Int
Message-Id: <428fd5f1.89088732@news.erols.com>
Alex Banks <nospam@alexite.com> wrote:
: Can someone point me to a good cpan module employing a one way hashing
: algorithm?
Look at the various Digest:: modules.
------------------------------
Date: Sat, 21 May 2005 20:57:22 +0200
From: Fabian Pilkowski <pilkowsk@informatik.uni-marburg.de>
Subject: Re: http get param
Message-Id: <3f9eijF6h8k4U1@individual.net>
* Alexandre Jaquet schrieb:
> I'm having a strang error when I try to disting my actions passed in
> parameter, the parameter action is null :s
>
> html code :
>
> <form name="insert_form" action="/cgi-bin/recordz.cgi?lang=$LANG"
> method="post">
> <input type="hidden" name="action" value="register">
[...]
> perl code :
>
> loadLanguage ();
> execute ();
>
> sub execute {
> my $query = new CGI ;
> my $action = $query->param('action');
The paragraph "MIXING POST AND URL PARAMETERS" in `perldoc CGI` deals
with mixing POST and GET requests. I just mention it due to seeing
you're using it. Perhaps this doesn't solve your problem (since param
"action" is corrupt instead of "lang").
Btw, how is loadLanguage() processing the CGI params. Does it reading
all the stuff from STDIN in order that execute() cannot read the same
again?
regards,
fabian
------------------------------
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 8101
***************************************