[There's More Than One Way To Do It]
Always A Blog To Get Confident in Coding
Method1:
print "file exists!\n" if -e $base_path; Method2:
print " it is a plain file!\n" if -f $base_path;
Labels: file test operators in perl script what is the use of perll file test operator in perl perl file test operators what are file test options with its meaning file operator
posted by Kaavannan K @ December 16, 2022 0 comments
Note: only a member of this blog may post a comment.
<< Home
View my complete profile
0 Comments:
Post a Comment
Note: only a member of this blog may post a comment.
<< Home