Xuer wrote: > > Can I get the file type info from the result list of lstat? > such as if it's a dir( as -d), or a slink( as -s) ...etc. > how to ?
-s is for a socket, -l is for a symbolic link. The complete details are in the stat entry of perlfunc.pod. perldoc -f stat John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>