in reply to Need Help with Perl Code

"...The Currency Converter in Chapter 2..."

May be this is from Beginning Perl by James Lee?

If so you find some sources here.

But keep in mind what a wise prof told me many years ago: "Sure, you can cheat - if you really can explain the solution..."

Do yourself a favor and find your own solution.

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