passing "%20" in a url to Perl via CGI
Madison Kelly
linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
Fri Aug 6 13:21:28 UTC 2004
Lennart Sorensen wrote:
> On Fri, Aug 06, 2004 at 08:44:11AM -0400, Madison Kelly wrote:
>
>> I'll be adding the "%25" substitute in now to test. A question
>>though; would one of those 'pm' modules do this well:
>>
>>- I use 'ls' to pass the file names in a directory to perl
>
>
> readdir is probably better and more efficient than using ls. Well
> readdir and stat maybe, Calling fork and exec to another process is not
> the cheapest system call to make.
Hi,
I've heard this before and I have been too distracted to look into it
deeper (I had other code to write and that "worked"). Now though it's
getting more important because the file scan can take a -long- time. Can
I use 'readdir' to get the same information that I can get with:
ls -lAh --full-time
?
It's very important that I get as much information on each file and
directory as possible. Thanks!!
Madison
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list