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: , , , , , ,

0 Comments:

Post a Comment

Note: only a member of this blog may post a comment.

<< Home