rajeshatbuzz has asked for the wisdom of the Perl Monks concerning the following question:
$DIR = "/home/rajesh"; @dirlist = `ls -l $DIR | tr -s " " " "| cut -d " " -f5,9`; foreach (@dirlist) { print "$_ \n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sql entry of file name n size
by Corion (Patriarch) on Jul 28, 2011 at 11:00 UTC | |
|
Re: sql entry of file name n size
by linuxer (Curate) on Jul 29, 2011 at 20:08 UTC |