Hi!
I have a string (its an array, the array has the values that $ftp->ls("dir)
returns), so $array[1] contains this:
-rw-r--r-- 1 pablo pablo 18944 Jul 16 21:14 File28903.zip
What I would like to do is: get the date (Jul 16), the time (12:14) and the
FileName, each one if a different array, like..
my ($date, $time, $fname) = $array[1];
I know that I could to it with split, I solved the problem with
split(" ",$array[1]);
However I would like to know if I can separeate the original string into
columns, so I could access the values like:
$date = $col[6]+$col[7];
$time = $col[8];
$fname = $col[9];
Thanks!
Pablo
--
Pablo Fischer Sandoval ([EMAIL PROTECTED])
http://www.pablo.com.mx
http://www.debianmexico.org
GPG FingerTip: 3D49 4CB8 8951 F2CA 8131 AF7C D1B9 1FB9 6B11 810C
Firma URL: http://www.pablo.com.mx/firmagpg.txt
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]