Dear all
Most of the file test operator accepts both file names and handler
but why -l says error when I gave the file handler as its operand
but it accepts filename
for ex : print "works " if ( -l FH ) ; # not working print "works " if ( -l "name_of_the_file" ) # works
In reply to -l file test operator by abubacker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |