in reply to Re: Can't find perl script
in thread Can't find perl script

"...imagine..."

He, he! But it depends:

karls-mac-mini:monks karl $ mv first.pl _first.pl karls-mac-mini:monks karl $ ./first.pl -bash: ./first.pl: No such file or directory karls-mac-mini:monks karl $ perl first.pl Can't open perl script "first.pl": No such file or directory

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

Replies are listed 'Best First'.
Re^3: Can't find perl script
by thanos1983 (Parson) on Nov 28, 2017 at 09:32 UTC

    Hello karlgoethebier,

    Hmmm nice, I never tried to make my Perl script executable so I never had to deal with this problem. Thanks for the tip :)

    BR / Thanos

    Seeking for Perl wisdom...on the process of learning...not there...yet!
      "I never tried to make my Perl script executable..."

      He! Nobody is perfect ;-) But if you are too lazy - like me - feel free to use my modest little helpers from Re^5: result is not listening to if.

      Minor update: Fixed wrong link. Thanks soonix.

      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