How do I print a Perl script?

Nguyễn Hào

New member
How do I print a Perl script?
Answer
print() operator –
Print operator prints whatever is passed to it as an argument whether it be a string, a number, a variable or anything. Double-quotes(“”) is used as a delimiter to this operator. Above example, prints both the strings with the help of print function but both the strings are printed in the same line.
 

Tìm kiếm

Back
Top