Re: Convert disk space size to readable form.

2003-01-07 Thread michael higgins
... > But I don't really understand the @sizes = map{@$_[$#$_]}@listing; > > I thought it would be the same as @sizes = @listing; > So tried it, but the resultant output was wrong. > > Per my understanding:- > > @$_ makes the array name the current item name from the list @listing > While the @$_

RE: Convert disk space size to readable form.

2003-01-07 Thread Allegakoen, Justin Devanandan
8<-- @listing =( [qw(C:\ Total drive size = 2253693952)], [qw( Total free space = 914102784)], [qw(D:\ Total drive size = 18202509312)], [qw( Total free space = 3483238400 )]); @sizes = map{@$_[$#$_]}@listing; map {printf "%14s", commify(sprintf "%.2f", eval{(($_ / 1

RE: Convert disk space size to readable form.

2003-01-07 Thread Stovall, Adrian M.
> -Original Message- > From: Peter Guzis [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 07, 2003 2:56 PM > To: [EMAIL PROTECTED] > Subject: RE: Convert disk space size to readable form. > > > That's not quite accurate. Take a look at > h