Chas. Owens told me on 02/12/2008 12:30 PM:
> On Feb 12, 2008 1:08 PM, Kashif Salman <[EMAIL PROTECTED]> wrote:
>> On Feb 12, 2008 9:58 AM, Chas. Owens <[EMAIL PROTECTED]> wrote:
>>> On Feb 12, 2008 12:38 PM, Michael Barnes <[EMAIL PROTECTED]> wrote:
>>> snip
I'm the new kid and this is a be
On Feb 12, 2008 1:08 PM, Kashif Salman <[EMAIL PROTECTED]> wrote:
>
> On Feb 12, 2008 9:58 AM, Chas. Owens <[EMAIL PROTECTED]> wrote:
> > On Feb 12, 2008 12:38 PM, Michael Barnes <[EMAIL PROTECTED]> wrote:
> > snip
> > > I'm the new kid and this is a beginners forum, so I welcome all ideas
> > > an
On Feb 12, 2008 9:58 AM, Chas. Owens <[EMAIL PROTECTED]> wrote:
> On Feb 12, 2008 12:38 PM, Michael Barnes <[EMAIL PROTECTED]> wrote:
> snip
> > I'm the new kid and this is a beginners forum, so I welcome all ideas
> > and options. Forgiving my ignorance, would you mind giving an example
> > of ho
On Feb 12, 2008 12:38 PM, Michael Barnes <[EMAIL PROTECTED]> wrote:
snip
> I'm the new kid and this is a beginners forum, so I welcome all ideas
> and options. Forgiving my ignorance, would you mind giving an example
> of how I would do this with lsof?
snip
This only works on systems with lsof.
Kashif Salman told me on 02/12/2008 09:31 AM:
> On Feb 12, 2008 6:51 AM, Michael Barnes <[EMAIL PROTECTED]> wrote:
>>
>> John W. Krahn told me on 02/11/2008 03:47 PM:
>>> Michael Barnes wrote:
I thought about using lstat to get the size of a file for file
comparisons. I see that lstat al
On Feb 12, 2008 6:51 AM, Michael Barnes <[EMAIL PROTECTED]> wrote:
>
>
> John W. Krahn told me on 02/11/2008 03:47 PM:
> > Michael Barnes wrote:
> >> I thought about using lstat to get the size of a file for file
> >> comparisons. I see that lstat always returns a list of thirteen values.
> >> Th
John W. Krahn told me on 02/11/2008 03:47 PM:
> Michael Barnes wrote:
>> I thought about using lstat to get the size of a file for file
>> comparisons. I see that lstat always returns a list of thirteen values.
>> The references I find appear to require assignment of those 13 values
>> to varia
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 do
Kashif Salman wrote:
On Feb 11, 2008 3:51 PM, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
[ Please stop this top-posting!!
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
On Feb 11, 2008 3:51 PM, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
> [ Please stop this top-posting!! And David, you'd better ask your Perl
> questions of general interest to the list. ]
>
> Kashif Salman wrote:
> > David Moreno wrote:
> >> Kashif Salman wrote:
> >>> David Moreno wrote:
>
[ Please stop this top-posting!! And David, you'd better ask your Perl
questions of general interest to the list. ]
Kashif Salman wrote:
David Moreno wrote:
Kashif Salman wrote:
David Moreno wrote:
On Feb 11, 2008 4:47 PM, John W. Krahn <[EMAIL PROTECTED]> wrote:
lstat $filename;
my $size
> -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 re
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 do
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;
>
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.
On 2/11/08, Michael Barnes <[EMAIL PROTECTED]> wrote:
> I thought about using lstat to get the size of a file for file
> comparisons. I see that lstat always returns a list of thirteen values.
> The references I find appear to require assignment of those 13 values
> to variables, even though I on
Michael Barnes wrote:
I thought about using lstat to get the size of a file for file
comparisons. I see that lstat always returns a list of thirteen values.
The references I find appear to require assignment of those 13 values
to variables, even though I only want to use one.
Do I really have
On Feb 11, 2008 4:39 PM, John W. Krahn <[EMAIL PROTECTED]> wrote:
>
> Chas. Owens wrote:
> > On Feb 11, 2008 4:17 PM, Michael Barnes <[EMAIL PROTECTED]> wrote:
> >> I thought about using lstat to get the size of a file for file
> >> comparisons. I see that lstat always returns a list of thirteen v
Chas. Owens wrote:
On Feb 11, 2008 4:17 PM, Michael Barnes <[EMAIL PROTECTED]> wrote:
I thought about using lstat to get the size of a file for file
comparisons. I see that lstat always returns a list of thirteen values.
The references I find appear to require assignment of those 13 values
to
> -Original Message-
> From: Chas. Owens [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 11, 2008 13:21
> To: Michael Barnes
> Cc: beginners@perl.org
> Subject: Re: lstat and its uses
>
> On Feb 11, 2008 4:17 PM, Michael Barnes <[EMAIL PROTECTED]> wr
On Feb 11, 2008 4:17 PM, Michael Barnes <[EMAIL PROTECTED]> wrote:
> I thought about using lstat to get the size of a file for file
> comparisons. I see that lstat always returns a list of thirteen values.
> The references I find appear to require assignment of those 13 values
> to variables, eve
21 matches
Mail list logo