Mmm... I suppose it really does depend on the environment in which you are working. Or... what Perl version do you have installed? I've never had to add the newline in Windows XP. In any case, there are times when the newline is required. I don't know the conditions under which it is necessary, but I bet that it's the correct answer to the original poster's question. BTW, here's the output I receive:
[root] perl -v This is perl, v5.8.0 built for i386-linux-thread-multi ............. ............. [root]# uname -a Linux [xxxx] 2.4.18-19.8.0 #1 Thu Dec 12 05:39:29 EST 2002 i686 i686 i +386 GNU/Linux [root]# perl -e "print crypt('password','A0')" [root]# perl -le "print crypt('password','A0')" A0qxUqZSv1XUU
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^3: perl-5.8.0 print statement
by Coruscate
in thread perl-5.8.0 print statement
by hhoffman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |