Re: Searching through a directory.

2004-02-13 Thread John Lin
Hi Daniel, Yes, that is exactly what was wrong with this script. Thanks so much! John At 05:41 PM 2/13/2004, you wrote: --As of Friday, February 13, 2004 5:07 PM -0800, John Lin is alleged to have said: for ($i=0; $i <= $#filenames; $i++) { [EMAIL PROTECTED];

Searching through a directory.

2004-02-13 Thread John Lin
Hi List, This is probably a really simple question, but I need some help with this. Basically, I am searching through a directory and if something matches what I am looking for, then save that filename to a text file. Something like this: === $wanted_filename='t

problem executing perl script

2003-02-15 Thread John Lin
Hi list, I have written a perl CGI script that basically executes a system command via an open command like so: open (COMHANDLE, '/usr/local/bin/gpg --no-tty --list-keys |') or die "can not list keys \n"; print ; close (COMHANDLE) or die "can not close COMHANDLE \n"; For some reason, if I run