hello-again.pl —-x quotes…

A UNIX Command
$perl hello-again.pl
Greetings, small planet nWhat's cooking?
$cat hello-again.pl
print 'Greetings, small planet n';
print "What's cooking?n";

$

UNIX Explanation
Shows how single quotes differ from double quotes
in hello-again.pl

source : http://sandbox.mc.edu/~bennet/perl/leccode/index.html

 

Leave a Reply

Your email address will not be published. Required fields are marked *