in reply to Re^4: Preprocessing print statements
in thread Preprocessing print statements

> Customer:"I got this nose/cuke problem."

Support: "Which part? Nose or cuke?

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^6: Preprocessing print statements
by karlgoethebier (Abbot) on Nov 12, 2020 at 22:00 UTC

    Customer: "I don't know!" Best regards, KGB

    «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

      > Customer: "I don't know!"

      Look, I'm not "support" or a "code writing service".

      And "I don't know" any better strategy to teach Perl, than asking and stimulating efforts.

      If you think you can do better, you are welcome to demonstrate your understanding of "support" ...

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery

        "...better strategy..."

        Tja, I'm not sure.

        Consider use of last:

        # Some possible answers #1: The solution is obvious. #2: Use a block. #3 Make it so: KARL: { if ($x) { $y or last; print "Continue with the if clause\n"; } }

        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