in reply to Re^3: open(), go away with bad way, or fail with the right way?
in thread open(), go away with bad way, or fail with the right way?

"But why the effort?"

It's only a demo. If you read the thread, it would be obvious.

  • Comment on Re^4: open(), go away with bad way, or fail with the right way?

Replies are listed 'Best First'.
Re^5: open(), go away with bad way, or fail with the right way?
by karlgoethebier (Abbot) on Jun 01, 2019 at 18:15 UTC
    "...only a demo..."

    Even (or especially) a demo should compile without warnings. And masked variables may lead to pain in the ass (old saying).

    "...read the thread..."

    I have read the thread. 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

      No, I do not defend this as a coding practice -- I'm just trying to elucidate how Perl works.
        “...elucidate...“

        Sure, I know. But probably even Perl has a dark side?

        «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