cherry has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, I want to know the use of hashes in Perl.Can anyone tell me the best features of hashes with the examples?

Replies are listed 'Best First'.
Re: Use of hashes
by marto (Cardinal) on Mar 11, 2019 at 09:47 UTC
Re: Use of hashes
by thanos1983 (Parson) on Mar 11, 2019 at 09:29 UTC

    Hello cherry,

    Welcome to the Monastery. You mean hashes as arrays of scalars, known as "hashes"? If so read this perldata.

    If not the above do you mean hash as a way of encryption? If so read crypt function how it works.

    If none of the above elaborate us more so we can assist more. BR / Thanos

    Seeking for Perl wisdom...on the process of learning...not there...yet!
Re: Use of hashes
by karlgoethebier (Abbot) on Mar 12, 2019 at 09:18 UTC

    You may bless them. Regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

    perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help