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