Sunday, 6 October 2019

how many ways string can be identified by perl?

Method 1:


print "hello hi";

Method 2:


print 'hello hi';

Method 3:


print join " ",qw(hello hi);

Method 4:


print q(hello hi);

Method 5:

print qq(hello hi);


kaavannan perl blogspot

Labels: , , , , , ,