in reply to perl-5.8.0 print statement
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (2): perl-5.8.0 print statement
by VSarkiss (Monsignor) on Feb 06, 2003 at 03:29 UTC | |
by tye (Sage) on Feb 06, 2003 at 04:24 UTC | |
by Coruscate (Sexton) on Feb 06, 2003 at 04:40 UTC |