hi guys, thanks for your very quick (!) help! unfortunately, neither one helped me get rid of my problem. here is some more output as requested:
[12:28, 36deg, 31%] steppenwolf@baby:~/documents/perl$ la print.pl -rwxr-xr-x 1 steppenwolf steppenwolf 39 Oct 20 12:26 print.pl [12:28, 36deg, 31%] steppenwolf@baby:~/documents/perl$ which perl /usr/bin/perl [12:28, 36deg, 31%] steppenwolf@baby:~/documents/perl$ type perl perl is /usr/bin/perl [12:28, 36deg, 31%] steppenwolf@baby:~/documents/perl$ od -cx print.p +l 0000000 # ! / u s r / b i n / p e r l \ +n 2123 752f 7273 622f 6e69 702f 7265 0a6c 0000020 \n p r i n t ' h e l l o w +o 700a 6972 746e 2720 6568 6c6c 206f 6f77 0000040 r l d ! ' ; \n \0 6c72 2164 3b27 000a 0000047 [12:28, 36deg, 31%] steppenwolf@baby:~/documents/perl$
does that help you?

In reply to Re^2: script-problem by Anonymous Monk
in thread script-problem by Anonymous Monk

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.