> -----Original Message-----
> From: Kashif Salman [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 11, 2008 15:24
> To: David Moreno
> Cc: John W. Krahn; Perl Beginners
> Subject: Re: lstat and its uses
> 
> I am not sure how to bring it up using the perldoc, I read it when I
> was going through the book "Learning Perl". Maybe someone else here
> can point out how to find it in perldoc..

        use perldoc -f stat
  you can use lstat, but soes not say much and really points you to stat
  stat is a perl builtin

        type in perldoc -h
  gives more info on perldoc and what it can do for you. 
Wags ;)
> 
> On Feb 11, 2008 3:16 PM, David Moreno <[EMAIL PROTECTED]> wrote:
> > That is very interesting, actually. What piece of 
> documentation should I
> > read to learn about this operators?
> >
> > Thanks.
> > David.
> >
> >
> >
> > On Feb 11, 2008 6:14 PM, Kashif Salman 
> <[EMAIL PROTECTED]> wrote:
> >
> > > Perl already has all the info from the previous lstat 
> command, using _
> > > is more efficient in that it doesn't have to do another 
> system call.
> > >
> > >
> > >
> > >
> > > On Feb 11, 2008 2:06 PM, David Moreno 
> <[EMAIL PROTECTED]> wrote:
> > > > On Feb 11, 2008 4:47 PM, John W. Krahn <[EMAIL PROTECTED]> wrote:
> > > >
> > > > > lstat $filename;
> > > > > my $size = -s _;
> > > >
> > > >
> > > > Did you mean:
> > > >
> > > > my $size = -s $_;
> > > >
> > > > ?
> > > >
> > > > --
> > > > David Moreno - http://www.damog.net/
> > > > Yes, you can.
> > > >
> > >
> >
> >
> >
> > --
> >
> >
> > David Moreno - http://www.damog.net/
> >  Yes, you can.
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> http://learn.perl.org/
> 
> 
> 

**********************************************************************
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/


Reply via email to