It's because you aren't printing a newline after the output, which operating systems like linux require. Two ways to fix it. The easiest is to add the -l switch to perl: perl -le "print crypt('string', 'salt')". The second way is to print out a newline as well (less-cool :P): perl -e "print crypt('string', 'salt'), qq{\n}".
If the above content is missing any vital points or you feel that any of the information is misleading, incorrect or irrelevant, please feel free to downvote the post. At the same time, reply to this node or /msg me to tell me what is wrong with the post, so that I may update the node to the best of my ability. If you do not inform me as to why the post deserved a downvote, your vote does not have any significance and will be disregarded.
In reply to Re: perl-5.8.0 print statement
by Coruscate
in thread perl-5.8.0 print statement
by hhoffman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |