in reply to Looking for a loop
"...still the Basic syntax in mind..."
If it is more comfortable for you or if you feel better, try to replace $choice = <STDIN>; with goto &choose; in the sub Athanasius provided. Untested but it should work. See also goto for some differences.
Best 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
|
|---|