RICHARD FERNANDEZ wrote:
> According to the docs, if you stat a symlink, you will get information
> for the target file, and lstat works on symlinks...
> 
> I'm confused. How do you determine if a file is a symlink to begin
> with? 
> 
> TIA
> 
> richf

        Using file test  if -l $filename  will return true if symbolic.

Wags ;)


*******************************************************
This message contains information that is confidential
and proprietary to FedEx Freight or its affiliates.
It is intended only for the recipient named and for
the express purpose(s) described therein.
Any other use is prohibited.
*******************************************************


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to