"...funny characters..."

Or inspect it with hexdump, like this:

karls-mac-mini:monks karl$ hexdump -c _first.pl 0000000 # ! / u s r / b i n / e n v +p 0000010 e r l \n \n u s e s t r i c t +; 0000020 \n u s e w a r n i n g s ; \n +u 0000030 s e f e a t u r e q w ( s +a 0000040 y ) ; \n \n s a y q ( H e l l +o 0000050 w o r l d ! ) \n \n _ _ E N D +_ 0000060 _ \n \n k a r l s - m a c - m i +n 0000070 i : m o n k s k a r l $ . +/ 0000080 f i r s t . p l \n H e l l o +w 0000090 o r l d ! \n + 0000096

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


In reply to Re: Executing a Perl program by karlgoethebier
in thread Executing a Perl program by gm40

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.