Re: accessing the string from system("ls -al") / browse dir script

2003-04-06 Thread simran
Stat::lsMode would probably be of interest as well. http://search.cpan.org/author/MJD/Stat-lsMode-0.50/lsMode.pm On Mon, 2003-04-07 at 10:41, R. Joseph Newton wrote: > [EMAIL PROTECTED] wrote: > > > > > Hello Mother, > > > > While not knowing exactly what you want to do, > > in general you can

Re: accessing the string from system("ls -al") / browse dir script

2003-04-06 Thread Rob Dixon
[EMAIL PROTECTED] wrote: > I'm trying to put the string from the system("ls -al") into a variable. It > simply prints to the page and puts 1 in the variable. > > I wan't to use this variable to determine the permissions for the files on a > linux machine. Is there an easier way? Hi Tricia. Ther

Re: accessing the string from system("ls -al") / browse dir script

2003-04-06 Thread John W. Krahn
[EMAIL PROTECTED] wrote: > > I'm trying to put the string from the system("ls -al") into a variable. It > simply prints to the page and puts 1 in the variable. perldoc -f system > I wan't to use this variable to determine the permissions for the files on a > linux machine. Is there an easier w

Re: accessing the string from system("ls -al") / browse dir script

2003-04-06 Thread Paul Johnson
On Sun, Apr 06, 2003 at 07:01:02AM -0400, [EMAIL PROTECTED] wrote: > I wan't to use this variable to determine the permissions for the files on a > linux machine. Is there an easier way? opendir readdir stat closedir perldoc -f each of those for the docs. -- Paul Johnson - [EMAIL PROTECTED]

Re: accessing the string from system("ls -al") / browse dir script

2003-04-06 Thread Li Ngok Lam
> I'm trying to put the string from the system("ls -al") into a variable. @list = `ls -al`; > It simply prints to the page and puts 1 in the variable. What's that mean '1' anyway ? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

accessing the string from system("ls -al") / browse dir script

2003-04-06 Thread Motherofperls
I'm trying to put the string from the system("ls -al") into a variable. It simply prints to the page and puts 1 in the variable. I wan't to use this variable to determine the permissions for the files on a linux machine. Is there an easier way? Tricia